summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-03-16 15:33:16 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-03-16 15:33:16 +0100
commit9f17a568967aafd104d5fad72a06507d80573952 (patch)
tree0a380665998cb5cb4bafb3a7f7a7ccbbeebc7032 /compiler
parent083d84ba0319f61ac88a6f16933658c6aedb9166 (diff)
parentcc5140d8b6ea8ca65ec9b74348cf23aec09d6723 (diff)
downloadNim-9f17a568967aafd104d5fad72a06507d80573952.tar.gz
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'compiler')
-rw-r--r--compiler/vm.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim
index 23216f0a3..6ea6f1492 100644
--- a/compiler/vm.nim
+++ b/compiler/vm.nim
@@ -1490,7 +1490,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
           c.debug[pc])
       x.flags.incl nfIsRef
       # prevent crashes in the compiler resulting from wrong macros:
-      if x.kind == nkIdent: x.ident = getIdent""
+      if x.kind == nkIdent: x.ident = c.cache.emptyIdent
       regs[ra].node = x
     of opcNCopyNimNode:
       decodeB(rkNode)