summary refs log tree commit diff stats
path: root/compiler/vm.nim
diff options
context:
space:
mode:
authorFelix Krause <contact@flyx.org>2016-10-09 18:02:48 +0200
committerFelix Krause <contact@flyx.org>2016-10-09 18:02:48 +0200
commit39f03d816c2399ba44f0d88a8d4fd532ed8dfcfd (patch)
treef6b068c4895b2f499b6b7c4343f9a27c52d5bc2d /compiler/vm.nim
parent00b749c41810efe8169e5eeaea932ee63024738d (diff)
downloadNim-39f03d816c2399ba44f0d88a8d4fd532ed8dfcfd.tar.gz
Fixes #4871
Diffstat (limited to 'compiler/vm.nim')
-rw-r--r--compiler/vm.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim
index efcc55c59..d5acf5f73 100644
--- a/compiler/vm.nim
+++ b/compiler/vm.nim
@@ -1242,7 +1242,8 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
 
       createStr regs[ra]
       regs[ra].node.strVal = opGorge(regs[rb].node.strVal,
-                                     regs[rc].node.strVal, regs[rd].node.strVal)
+                                     regs[rc].node.strVal, regs[rd].node.strVal,
+                                     c.debug[pc])
     of opcNError:
       stackTrace(c, tos, pc, errUser, regs[ra].node.strVal)
     of opcNWarning: