Ignore:
Timestamp:
Jul 22, 2015, 11:33:44 AM (4 years ago)
Author:
cameron
Message:

ensure initial scope is set

File:
1 edited

Legend:

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

    r4688 r4690  
    178178        }
    179179    }
    180        
    181     mCarryOffset = mCarryManager->initialize(&(function.getEntryBlock()), mCarryDataPtr);
     180     
     181    PabloBlock & mainScope = function.getEntryBlock();
     182
     183    mCarryOffset = mCarryManager->initialize(&mainScope, mCarryDataPtr);
    182184   
    183185    //Generate the IR instructions for the function.
    184     compileBlock(function.getEntryBlock());
     186   
     187    compileBlock(mainScope);
    185188   
    186189    mCarryManager->generateBlockNoIncrement();
Note: See TracChangeset for help on using the changeset viewer.