Ignore:
Timestamp:
Aug 9, 2015, 1:32:19 PM (4 years ago)
Author:
cameron
Message:

Minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carry_manager.cpp

    r4720 r4721  
    498498
    499499void CarryManager::initializeCarryDataAtIfEntry() {
    500     if (mCarryOutPack[scopeBasePack()] == nullptr) {
    501         mCarryInfo->ifEntryPack = mZeroInitializer;
    502     }
    503     else {
    504         mCarryInfo->ifEntryPack = mCarryOutPack[scopeBasePack()];
     500    if (blockHasCarries()) {
     501        if (mCarryOutPack[scopeBasePack()] == nullptr) {
     502            mCarryInfo->ifEntryPack = mZeroInitializer;
     503        }
     504        else {
     505            mCarryInfo->ifEntryPack = mCarryOutPack[scopeBasePack()];
     506        }
    505507    }
    506508}
Note: See TracChangeset for help on using the changeset viewer.