fixes #4992
This commit is contained in:
parent
d9cf9b079e
commit
137b5f4302
1 changed files with 4 additions and 1 deletions
|
|
@ -932,7 +932,10 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
|
||||||
c.module
|
c.module
|
||||||
var macroCall = newNodeI(nkCall, c.debug[pc])
|
var macroCall = newNodeI(nkCall, c.debug[pc])
|
||||||
macroCall.add(newSymNode(prc))
|
macroCall.add(newSymNode(prc))
|
||||||
for i in 1 .. rc-1: macroCall.add(regs[rb+i].regToNode)
|
for i in 1 .. rc-1:
|
||||||
|
let node = regs[rb+i].regToNode
|
||||||
|
node.info = c.debug[pc]
|
||||||
|
macroCall.add(node)
|
||||||
let a = evalTemplate(macroCall, prc, genSymOwner)
|
let a = evalTemplate(macroCall, prc, genSymOwner)
|
||||||
a.recSetFlagIsRef
|
a.recSetFlagIsRef
|
||||||
ensureKind(rkNode)
|
ensureKind(rkNode)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue