Ignore:
Timestamp:
Nov 22, 2015, 3:17:10 PM (4 years ago)
Author:
nmedfort
Message:

More work on n-ary operations.

File:
1 edited

Legend:

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

    r4876 r4878  
    193193        PabloBlock * body = isa<If>(this) ? cast<If>(this)->getBody() : cast<While>(this)->getBody();
    194194        body->setParent(mParent);
    195         mParent->addUser(body);
    196195    }
    197196}
     
    222221        PabloBlock * body = isa<If>(this) ? cast<If>(this)->getBody() : cast<While>(this)->getBody();
    223222        body->setParent(mParent);
    224         mParent->addUser(body);
    225223    }
    226224}
     
    250248            PabloBlock * body = isa<If>(this) ? cast<If>(this)->getBody() : cast<While>(this)->getBody();
    251249            body->setParent(nullptr);
    252             mParent->removeUser(body);
    253250        }
    254251    }
Note: See TracChangeset for help on using the changeset viewer.