summary refs log tree commit diff stats
path: root/compiler/pragmas.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-30 23:50:34 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-30 23:50:34 +0200
commit61fb83ecbb4c691c03d500f6c71499e59a67cef2 (patch)
tree5976368415b899b6a1a1b4640657c25bafcd22b3 /compiler/pragmas.nim
parenta36c779f398d786082dc8d53412f8a9aaebf637b (diff)
downloadNim-61fb83ecbb4c691c03d500f6c71499e59a67cef2.tar.gz
baby steps for incremental compilation
Diffstat (limited to 'compiler/pragmas.nim')
-rw-r--r--compiler/pragmas.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim
index 77f75922c..061bbacfa 100644
--- a/compiler/pragmas.nim
+++ b/compiler/pragmas.nim
@@ -12,7 +12,7 @@
 import
   os, platform, condsyms, ast, astalgo, idents, semdata, msgs, renderer,
   wordrecg, ropes, options, strutils, extccomp, math, magicsys, trees,
-  rodread, types, lookups, lineinfos
+  types, lookups, lineinfos
 
 const
   FirstCallConv* = wNimcall
@@ -482,7 +482,8 @@ proc semAsmOrEmit*(con: PContext, n: PNode, marker: char): PNode =
       if sub != "":
         var e = searchInScopes(con, getIdent(con.cache, sub))
         if e != nil:
-          if e.kind == skStub: loadStub(e)
+          when false:
+            if e.kind == skStub: loadStub(e)
           incl(e.flags, sfUsed)
           addSon(result, newSymNode(e))
         else: