diff options
author | Araq <rumpf_a@web.de> | 2017-02-02 21:56:34 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-02-02 21:56:34 +0100 |
commit | 8af10ae3b998ba2216ccb9b37c7a988fe1c09ccf (patch) | |
tree | d8ad807052750cf55bb689df3f2341a0eaf2f062 /compiler | |
parent | fab69661ad7132fd138c26da9f8cb0b041125965 (diff) | |
parent | e236039d109a49531098679156c5ed93a8c533b0 (diff) | |
download | Nim-8af10ae3b998ba2216ccb9b37c7a988fe1c09ccf.tar.gz |
Merge branch 'devel' into new-name-mangling
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/vm.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim index 7ce96f7df..dd91b80e8 100644 --- a/compiler/vm.nim +++ b/compiler/vm.nim @@ -932,7 +932,10 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg = c.module var macroCall = newNodeI(nkCall, c.debug[pc]) 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) a.recSetFlagIsRef ensureKind(rkNode) |