Changeset 6104


Ignore:
Timestamp:
Jun 19, 2018, 8:12:37 PM (3 months ago)
Author:
cameron
Message:

getArgumentList() deprecated

File:
1 edited

Legend:

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

    r6034 r6104  
    141141            Value * const startPtr = b->getRawInputPointer("InputStream", matchRecordStart);
    142142            Value * const endPtr = b->getRawInputPointer("InputStream", matchRecordEnd);
    143             const auto matchRecNumArg = ++dispatcher->getArgumentList().begin();
     143            Function::arg_iterator argi = dispatcher->arg_begin();
     144            const auto matchRecNumArg = &*(argi++);
    144145            Value * const matchRecNum = b->CreateZExtOrTrunc(matchRecordNum, matchRecNumArg->getType());
    145146            b->CreateCall(dispatcher, {accumulator, matchRecNum, startPtr, endPtr});
Note: See TracChangeset for help on using the changeset viewer.