Ignore:
Timestamp:
Feb 26, 2015, 3:35:19 PM (4 years ago)
Author:
nmedfort
Message:

added code sinking module; disabled by default as it hurts performance unless if-insertions occur.

File:
1 edited

Legend:

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

    r4511 r4521  
    7474    }
    7575
    76     inline static PabloBlock & Create(PabloBlock & predecessor) {
    77         return *(new PabloBlock(&predecessor));
     76    inline static PabloBlock & Create(PabloBlock & parent) {
     77        return *(new PabloBlock(&parent));
    7878    }
    7979
     
    168168    inline Integer * getInteger(Integer::integer_t value) {
    169169        return mSymbolGenerator.getInteger(value);
     170    }
     171
     172    inline PabloBlock * getParent() const {
     173        return mParent;
    170174    }
    171175
     
    191195    Ones * const                                        mOnes;
    192196    SymbolGenerator &                                   mSymbolGenerator;
    193     PabloBlock *                                        mPredecessor;
     197    PabloBlock *                                        mParent;
    194198};
    195199
Note: See TracChangeset for help on using the changeset viewer.