summary refs log tree commit diff stats
path: root/compiler/passaux.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-10-18 17:21:51 +0200
committerAraq <rumpf_a@web.de>2011-10-18 17:21:51 +0200
commit4de84024e5e1b91fcd66d4f093cec4d1a985194a (patch)
tree6b8941742c59c21c729e6d8ecd868bb0c29e4a36 /compiler/passaux.nim
parent0914ba8980976ed5204f953aa5548e33ac103686 (diff)
downloadNim-4de84024e5e1b91fcd66d4f093cec4d1a985194a.tar.gz
much more efficient rod file generation
Diffstat (limited to 'compiler/passaux.nim')
-rwxr-xr-xcompiler/passaux.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/passaux.nim b/compiler/passaux.nim
index a57963c06..659a9a346 100755
--- a/compiler/passaux.nim
+++ b/compiler/passaux.nim
@@ -10,7 +10,7 @@
 ## implements some little helper passes
 
 import 
-  strutils, ast, astalgo, passes, msgs, options
+  strutils, ast, astalgo, passes, msgs, options, idgen
 
 proc verboseOpen(s: PSym, filename: string): PPassContext = 
   #MessageOut('compiling ' + s.name.s);
@@ -24,7 +24,7 @@ proc verboseProcess(context: PPassContext, n: PNode): PNode =
     # system.nim deactivates all hints, for verbosity:3 we want the processing
     # messages nonetheless, so we activate them again unconditionally:
     incl(msgs.gNotes, hintProcessing)
-    Message(n.info, hintProcessing, $ast.gid)
+    Message(n.info, hintProcessing, $idgen.gBackendId)
   
 proc verbosePass*(): TPass = 
   initPass(result)