Changeset 5056 for icGREP


Ignore:
Timestamp:
Jun 14, 2016, 8:55:26 PM (3 years ago)
Author:
cameron
Message:

Revert inadvertent change to old scanmatch kernel

File:
1 edited

Legend:

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

    r5055 r5056  
    206206    Type * T = iBuilder->getIntNTy(scanWordBitWidth);
    207207    Type * S = PointerType::get(iBuilder->getIntNTy(8), 0);
    208     kBuilder->setInstanceParameters({{S, "FileBuf"}, {T, "FileSize"}, {T, "FileIdx"}});
    209208
    210209    const unsigned fieldCount = iBuilder->getBitBlockWidth() / scanWordBitWidth;
     
    216215    const unsigned lineStart = kBuilder->addInternalState(T, "LineStart");
    217216    const unsigned lineNum = kBuilder->addInternalState(T, "LineNum");
    218    
    219     kBuilder->createInitMethod();
     217    kBuilder->addInternalState(S, "FileBuf");
     218    kBuilder->addInternalState(T, "FileSize");
     219    kBuilder->addInternalState(T, "FileIdx");
    220220    Function * function = kBuilder->prepareFunction();
    221221
Note: See TracChangeset for help on using the changeset viewer.