fixes #20 properly
This commit is contained in:
parent
42e0b08214
commit
567b5b07ea
4 changed files with 36 additions and 38 deletions
|
|
@ -18,9 +18,6 @@ proc leftAppearsOnRightSide(le, ri: PNode): bool =
|
|||
proc hasNoInit(call: PNode): bool {.inline.} =
|
||||
result = call.sons[0].kind == nkSym and sfNoInit in call.sons[0].sym.flags
|
||||
|
||||
proc resetLoc(p: BProc, d: var TLoc) =
|
||||
zeroVar(p, d, containsGarbageCollectedRef(d.t))
|
||||
|
||||
proc fixupCall(p: BProc, le, ri: PNode, d: var TLoc, pl: PRope) =
|
||||
var pl = pl
|
||||
var typ = ri.sons[0].typ # getUniqueType() is too expensive here!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue