Ignore:
Timestamp:
Jul 6, 2015, 5:56:51 PM (4 years ago)
Author:
nmedfort
Message:

Simplified While structure. Next nodes are in the AST again but are treated like independent variable assignments; they're only associated with their original Assign by including them in the While instruction.

File:
1 edited

Legend:

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

    r4641 r4643  
    9494Next * PabloBlock::createNext(Assign * assign, PabloAST * expr) {
    9595    assert (assign && expr);
    96     assert (assign->getName());
    97     std::string name = assign->getName()->to_string() + "'";
    98     return new Next(assign, createAssign(std::move(name), expr), this);
     96    return insertAtInsertionPoint(new Next(assign, expr, this));
    9997}
    10098
Note: See TracChangeset for help on using the changeset viewer.