parent
f439a7927f
commit
449ac44131
|
|
@ -70,6 +70,7 @@ John Coiner
|
|||
John Demme
|
||||
Jonathan Drolet
|
||||
Joseph Nwabueze
|
||||
Josep Sans
|
||||
Josh Redford
|
||||
Julie Schwartz
|
||||
Julien Margetts
|
||||
|
|
|
|||
|
|
@ -75,7 +75,10 @@ private:
|
|||
const string newvarname{"__Vilp"};
|
||||
varp = new AstVar{fl, VVarType::STMTTEMP, newvarname, VFlagLogicPacked{}, 32};
|
||||
UASSERT_OBJ(cfuncp, fl, "Assignment not under a function");
|
||||
cfuncp->addInitsp(varp);
|
||||
if (cfuncp->initsp())
|
||||
cfuncp->initsp()->addNextHere(varp);
|
||||
else
|
||||
cfuncp->addInitsp(varp);
|
||||
cfuncp->user1p(varp);
|
||||
}
|
||||
return varp;
|
||||
|
|
|
|||
Loading…
Reference in New Issue