Ignore:
Timestamp:
Nov 14, 2015, 5:38:36 PM (4 years ago)
Author:
nmedfort
Message:

Bug fix for Multiplexing. Added ability to set the body of a If/While? node after creation.

File:
1 edited

Legend:

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

    r4854 r4870  
    3838        return mNext;
    3939    }
    40     inline PabloBlock & getBody() {
     40    inline PabloBlock * getBody() {
    4141        return mBody;
    4242    }
    43     inline PabloBlock & getBody() const {
     43    inline PabloBlock * getBody() const {
    4444        return mBody;
    4545    }
     46    PabloBlock * setBody(PabloBlock * body);
    4647protected:
    47     While(PabloAST * expr, const std::initializer_list<Next *> nextVars, PabloBlock &body);
    48     While(PabloAST * expr, const std::vector<Next *> & nextVars, PabloBlock &body);
     48    While(PabloAST * expr, const std::initializer_list<Next *> nextVars, PabloBlock * body);
     49    While(PabloAST * expr, const std::vector<Next *> & nextVars, PabloBlock * body);
    4950
    5051private:
    51     PabloBlock &    mBody;
     52    PabloBlock *    mBody;
    5253    Variants        mNext;
    5354};
Note: See TracChangeset for help on using the changeset viewer.