Ignore:
Timestamp:
Jul 6, 2015, 9:35:48 AM (4 years ago)
Author:
nmedfort
Message:

Next nodes for While statements must be declared similar to how Defined Vars are for Ifs. (Temporarily breaks multiplexing correctness.)

File:
1 edited

Legend:

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

    r4612 r4641  
    129129    If * createIf(PabloAST * condition, std::vector<Assign *> && definedVars, PabloBlock & body);
    130130
    131     While * createWhile(PabloAST * condition, PabloBlock & body);
     131    While * createWhile(PabloAST * condition, const std::initializer_list<Next *> nextVars, PabloBlock & body);
     132
     133    While * createWhile(PabloAST * condition, const std::vector<Next *> & nextVars, PabloBlock & body);
     134
     135    While * createWhile(PabloAST * condition, std::vector<Next *> && nextVars, PabloBlock & body);
     136
    132137
    133138    inline StatementList & statements() {
Note: See TracChangeset for help on using the changeset viewer.