Ignore:
Timestamp:
Jun 11, 2016, 10:10:46 PM (3 years ago)
Author:
cameron
Message:

Clean out vestigial finalLineUnterminated logic in grep_engine

File:
1 edited

Legend:

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

    r5046 r5048  
    7878    Type * const inputType = PointerType::get(ArrayType::get(StructType::get(mMod->getContext(), std::vector<Type *>({ArrayType::get(mBitBlockType, (UTF_16 ? 16 : 8))})), 1), 0);
    7979    Type * const resultTy = CountOnly ? int64ty : iBuilder->getVoidTy();
    80     Function * const main = cast<Function>(mMod->getOrInsertFunction("Main", resultTy, inputType, int64ty, int64ty, iBuilder->getInt1Ty(), nullptr));
     80    Function * const main = cast<Function>(mMod->getOrInsertFunction("Main", resultTy, inputType, int64ty, int64ty, nullptr));
    8181    main->setCallingConv(CallingConv::C);
    8282    Function::arg_iterator args = main->arg_begin();
     
    8888    Value * const fileIdx = &*(args++);
    8989    fileIdx->setName("fileIdx");
    90     Value * const finalLineUnterminated = &*(args++);
    91     finalLineUnterminated->setName("finalLineUnterminated");
    9290
    9391    iBuilder->SetInsertPoint(BasicBlock::Create(mMod->getContext(), "entry", main,0));
Note: See TracChangeset for help on using the changeset viewer.