Changeset 5943


Ignore:
Timestamp:
Apr 5, 2018, 1:03:20 PM (11 months ago)
Author:
cameron
Message:

Finalize processedItemCount in Scanmatch to avoid a hang on long unterminated lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/scanmatchgen.cpp

    r5892 r5943  
    199199    iBuilder->SetInsertPoint(callFinalizeScan);
    200200    Value * bufSize = iBuilder->getBufferedSize("InputStream");
     201    iBuilder->setProcessedItemCount("InputStream", bufSize);
    201202    Function * finalizer = m->getFunction("finalize_match_wrapper"); assert (finalizer);
    202203    Value * const buffer_base = iBuilder->getRawInputPointer("InputStream", iBuilder->getInt32(0));
Note: See TracChangeset for help on using the changeset viewer.