Ignore:
Timestamp:
Jun 25, 2015, 3:47:56 PM (4 years ago)
Author:
nmedfort
Message:

Upload of an untested (inactive) UCD compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.hpp

    r4612 r4617  
    1111
    1212    PabloBuilder(PabloBlock & pb) : mPb(pb) {}
     13
     14    inline static PabloBuilder Create(PabloBuilder & parent) {
     15        return PabloBuilder(parent.getPabloBlock().Create(parent.getPabloBlock()), parent);
     16    }
    1317
    1418    inline Zeroes * createZeroes() const {
     
    101105    }
    102106
     107    inline PabloBlock & getPabloBlock() {
     108        return mPb;
     109    }
     110
     111protected:
     112
     113    PabloBuilder(PabloBlock & pb, PabloBuilder & parent) : mPb(pb), mExprTable(&(parent.mExprTable)) {}
     114
    103115private:
    104116
Note: See TracChangeset for help on using the changeset viewer.