Ignore:
Timestamp:
Jul 22, 2015, 8:39:29 AM (4 years ago)
Author:
cameron
Message:

Carry Manager restructuring and bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/codegenstate.h

    r4681 r4687  
    88#define PS_PABLOS_H
    99
    10 #include <pablo/carry_data.h>
    1110#include <pablo/pabloAST.h>
    1211#include <pablo/symbol_generator.h>
     
    160159    void insert(Statement * const statement);
    161160
    162     PabloBlockCarryData carryData;
     161    unsigned enumerateScopes(unsigned baseScopeIndex);
     162   
     163    inline unsigned getScopeIndex() const {
     164        return mScopeIndex;
     165    }
    163166   
    164167    virtual ~PabloBlock();
    165168
    166    
    167169protected:
    168170
     
    196198    SymbolGenerator &                                   mSymbolGenerator;
    197199    PabloBlock *                                        mParent;
     200    unsigned                                            mScopeIndex;
    198201};
    199202
Note: See TracChangeset for help on using the changeset viewer.