Ignore:
Timestamp:
Mar 29, 2017, 2:29:52 PM (2 years ago)
Author:
nmedfort
Message:

Support for stdin. Needs more testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/u8u16.cpp

    r5373 r5377  
    351351    iBuilder->SetInsertPoint(BasicBlock::Create(mod->getContext(), "entry", main,0));
    352352
    353     ByteStream.setStreamSetBuffer(inputStream, fileSize);
     353    ByteStream.setStreamSetBuffer(inputStream);
    354354    BasisBits.allocateBuffer();
    355355    U8u16Bits.allocateBuffer();
     
    368368
    369369    if (mMapBuffering || memAlignBuffering) {
    370         U16external.setEmptyBuffer(outputStream);
     370        U16external.setStreamSetBuffer(outputStream);
    371371    } else {
    372372        U16out.allocateBuffer();
     
    455455    iBuilder->SetInsertPoint(BasicBlock::Create(mod->getContext(), "entry", main,0));
    456456   
    457     ByteStream.setStreamSetBuffer(inputStream, fileSize);
     457    ByteStream.setStreamSetBuffer(inputStream);
    458458    BasisBits.allocateBuffer();
    459459    U8u16Bits.allocateBuffer();
     
    463463    DeletionCounts.allocateBuffer();
    464464    if (mMapBuffering || memAlignBuffering) {
    465         U16external.setEmptyBuffer(outputStream);
     465        U16external.setStreamSetBuffer(outputStream);
    466466    } else {
    467467        U16out.allocateBuffer();
Note: See TracChangeset for help on using the changeset viewer.