introduce OnHeapNew and rename TLoc.s to TLoc.storage
This commit is contained in:
parent
ae7fe5087f
commit
a04c7d8b38
8 changed files with 96 additions and 92 deletions
|
|
@ -57,7 +57,7 @@ proc genVarTuple(p: BProc, n: PNode) =
|
|||
else:
|
||||
assignLocalVar(p, v)
|
||||
initLocalVar(p, v, immediateAsgn=isAssignedImmediately(n[L-1]))
|
||||
initLoc(field, locExpr, t.sons[i], tup.s)
|
||||
initLoc(field, locExpr, t.sons[i], tup.storage)
|
||||
if t.kind == tyTuple:
|
||||
field.r = "$1.Field$2" % [rdLoc(tup), rope(i)]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue