tstmtexprs.nim works again
This commit is contained in:
parent
f0a70c7aae
commit
c4f9c3b53e
2 changed files with 3 additions and 3 deletions
|
|
@ -944,9 +944,9 @@ proc genAddrDeref(c: PCtx; n: PNode; dest: var TDest; opc: TOpcode;
|
|||
if gfAddrOf notin flags and fitsRegister(n.typ):
|
||||
c.gABC(n, opcNodeToReg, dest, dest)
|
||||
elif c.prc.slots[tmp].kind >= slotTempUnknown:
|
||||
gABC(c, n, opcAddrReg, dest, tmp)
|
||||
else:
|
||||
gABC(c, n, opcAddrNode, dest, tmp)
|
||||
else:
|
||||
gABC(c, n, opcAddrReg, dest, tmp)
|
||||
c.freeTemp(tmp)
|
||||
|
||||
proc whichAsgnOpc(n: PNode): TOpcode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue