Ignore:
Timestamp:
Jan 10, 2015, 10:27:13 AM (5 years ago)
Author:
nmedfort
Message:

Minor changes towards maintaining UseDef? information.

File:
1 edited

Legend:

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

    r4410 r4414  
    55
    66While::While(PabloAST * expr, PabloBlock & body, PabloBlock * parent)
    7 : Statement(ClassTypeId::While, nullptr, parent)
    8 , mExpr(expr)
     7: Statement(ClassTypeId::While, {expr}, nullptr, parent)
    98, mBody(body)
    109, mCarryCount(0)
    1110, mAdvanceCount(0)
    1211{
    13     expr->addUser(this);
    14     for (Statement * s : body) {
    15         addUser(s);
    16     }
     12
    1713}
    1814
Note: See TracChangeset for help on using the changeset viewer.