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