Ignore:
Timestamp:
Jan 16, 2018, 4:22:13 PM (16 months ago)
Author:
nmedfort
Message:

Added PabloBlock/Builder? createScope() methods + minor code changes.

File:
1 edited

Legend:

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

    r5771 r5836  
    115115    assert (mKernel == nullptr);
    116116
    117     mCurrentScope = kernel->getEntryBlock();
     117    mCurrentScope = kernel->getEntryScope();
    118118    mKernel = kernel;
    119119
     
    125125    mCarryScopes = 0;
    126126    mCarryMetadata.resize(getScopeCount(mCurrentScope));
    127     mCarryGroup.resize(assignDefaultCarryGroups(kernel->getEntryBlock()));
     127    mCarryGroup.resize(assignDefaultCarryGroups(kernel->getEntryScope()));
    128128
    129129    kernel->setCarryDataTy(analyse(iBuilder, mCurrentScope));
     
    11061106    assert ("scope cannot be null!" && scope);
    11071107    assert ("the entry scope -- and only the entry scope -- must be in carry scope 0"
    1108             && (mCarryScopes == 0 ? (scope == mKernel->getEntryBlock()) : (scope != mKernel->getEntryBlock())));
     1108            && (mCarryScopes == 0 ? (scope == mKernel->getEntryScope()) : (scope != mKernel->getEntryScope())));
    11091109    assert (mCarryScopes < mCarryMetadata.size());
    11101110
Note: See TracChangeset for help on using the changeset viewer.