summary refs log tree commit diff stats
path: root/compiler/vm.nim
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-04-20 22:55:49 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2014-04-20 22:56:30 +0100
commit5cf8c05a226ba617a6e6de8ebe7e82c19d680b98 (patch)
tree2dbb1f35cbacfaac5c98ebe9f6d5adcd0cda042b /compiler/vm.nim
parent23621857bb2ced3eb473bf3131169e7215f39b95 (diff)
downloadNim-5cf8c05a226ba617a6e6de8ebe7e82c19d680b98.tar.gz
Fixes #1119.
Diffstat (limited to 'compiler/vm.nim')
-rw-r--r--compiler/vm.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim
index 69a410f18..8257c360e 100644
--- a/compiler/vm.nim
+++ b/compiler/vm.nim
@@ -1104,6 +1104,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
                                      c.module)
     of opcGorge:
       decodeBC(rkNode)
+      createStr regs[ra]
       regs[ra].node.strVal = opGorge(regs[rb].node.strVal,
                                      regs[rc].node.strVal)
     of opcNError: