source: icGREP/icgrep-devel/icgrep/pablo/ps_if.cpp @ 4414

Last change on this file since 4414 was 4414, checked in by nmedfort, 4 years ago

Minor changes towards maintaining UseDef? information.

File size: 316 bytes
Line 
1#include <pablo/ps_if.h>
2#include <pablo/codegenstate.h>
3
4namespace pablo {
5
6If::If(PabloAST * expr, DefinedVars && definedVars, PabloBlock & body, PabloBlock * parent)
7: Statement(ClassTypeId::If, {expr}, nullptr, parent)
8, mBody(body)
9, mDefined(std::move(definedVars))
10, mCarryCount(0)
11, mAdvanceCount(0)
12{
13
14}
15
16}
Note: See TracBrowser for help on using the repository browser.