summary refs log tree commit diff stats
path: root/compiler/vmgen.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2014-03-16 18:34:37 +0200
committerZahary Karadjov <zahary@gmail.com>2014-03-16 20:42:49 +0200
commit49b0440c47b1f22bf2b84083b0c2b79fb60fdfd5 (patch)
treecc3e9612054ebcad226d0f7bffc3237d62d30005 /compiler/vmgen.nim
parentf0953db3ba59f2e23df2fb7932c672f5020db5fb (diff)
downloadNim-49b0440c47b1f22bf2b84083b0c2b79fb60fdfd5.tar.gz
make some tests green
Diffstat (limited to 'compiler/vmgen.nim')
-rw-r--r--compiler/vmgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim
index 0fc71189d..d3eda5db3 100644
--- a/compiler/vmgen.nim
+++ b/compiler/vmgen.nim
@@ -1569,7 +1569,7 @@ proc genProc(c: PCtx; s: PSym): int =
     c.gABC(body, opcEof, eofInstr.regA)
     c.optimizeJumps(result)
     s.offset = c.prc.maxSlots
-    #if s.name.s == "xmlConstructor":
+    #if s.name.s == "foo":
     #  echo renderTree(body)
     #  c.echoCode(result)
     c.prc = oldPrc