Ignore:
Timestamp:
Apr 8, 2016, 3:33:27 PM (3 years ago)
Author:
nmedfort
Message:

Potential fix for Mac compilers.

File:
1 edited

Legend:

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

    r4991 r5008  
    153153    Value * matchRecordEnd = iBuilder->CreateAdd(scanwordPos, generateCountForwardZeroes(iBuilder, matches_phi));
    154154
    155     Value * fileBuf = iBuilder->CreateLoad(kBuilder->getInternalState(instance, "FileBuf"));
     155    Value * fileBuf = iBuilder->CreateLoad(kBuilder->getInternalStateInternal(instance, "FileBuf"));
    156156    if (isNameExpression) {
    157157        iBuilder->CreateCall(matchProcessor, std::vector<Value *>({matchRecordNum_phi, matchRecordStart_phi, matchRecordEnd, fileBuf}));
    158158    } else {
    159         Value * fileSize = iBuilder->CreateLoad(kBuilder->getInternalState(instance, "FileSize"));
    160         Value * fileName = iBuilder->CreateLoad(kBuilder->getInternalState(instance, "FileName"));
     159        Value * fileSize = iBuilder->CreateLoad(kBuilder->getInternalStateInternal(instance, "FileSize"));
     160        Value * fileName = iBuilder->CreateLoad(kBuilder->getInternalStateInternal(instance, "FileName"));
    161161        iBuilder->CreateCall(matchProcessor, std::vector<Value *>({matchRecordNum_phi, matchRecordStart_phi, matchRecordEnd, fileBuf, fileSize, fileName}));
    162162    }
Note: See TracChangeset for help on using the changeset viewer.