summary refs log tree commit diff stats
path: root/compiler/passes.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-04-20 14:00:04 +0200
committerAraq <rumpf_a@web.de>2014-04-20 14:00:04 +0200
commitbe6474af638b72aabeb70cfc5f477cc5fb7af0ce (patch)
treef25002ea96fcfbd69997e22208c55eb3930eeaf0 /compiler/passes.nim
parent39e4e3f20570e804e3059574eafe8f78b2d8a9df (diff)
downloadNim-be6474af638b72aabeb70cfc5f477cc5fb7af0ce.tar.gz
removed flawed thread analysis pass
Diffstat (limited to 'compiler/passes.nim')
-rw-r--r--compiler/passes.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim
index 3dc31e7ac..66a1a4954 100644
--- a/compiler/passes.nim
+++ b/compiler/passes.nim
@@ -13,7 +13,7 @@
 import 
   strutils, lists, options, ast, astalgo, llstream, msgs, platform, os, 
   condsyms, idents, renderer, types, extccomp, math, magicsys, nversion, 
-  nimsets, syntaxes, times, rodread, semthreads, idgen
+  nimsets, syntaxes, times, rodread, idgen
 
 type  
   TPassContext* = object of TObject # the pass's context
@@ -74,7 +74,8 @@ proc astNeeded*(s: PSym): bool =
       ({sfCompilerProc, sfCompileTime} * s.flags == {}) and
       (s.typ.callConv != ccInline) and 
       (s.ast.sons[genericParamsPos].kind == nkEmpty): 
-    result = semthreads.needsGlobalAnalysis()
+    result = false
+    # XXX this doesn't really make sense with excessive CTFE
   else:
     result = true