summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-12-16 20:34:07 +0100
committerAraq <rumpf_a@web.de>2018-12-16 20:34:07 +0100
commit9526009e0eb89b3ce2b881cb35384f9b3ef1e02c (patch)
tree7fa70a6c63372a27ca2fdb41f752a4ba165b5df9 /compiler
parentd91d1865b88409ba7fc307505eff69c156d74d52 (diff)
downloadNim-9526009e0eb89b3ce2b881cb35384f9b3ef1e02c.tar.gz
fixes #9120
Diffstat (limited to 'compiler')
-rw-r--r--compiler/cmdlinehelper.nim10
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler/cmdlinehelper.nim b/compiler/cmdlinehelper.nim
index a15d622a0..e1824316a 100644
--- a/compiler/cmdlinehelper.nim
+++ b/compiler/cmdlinehelper.nim
@@ -48,16 +48,6 @@ proc loadConfigsAndRunMainCommand*(self: NimProg, cache: IdentCache; conf: Confi
   if self.suggestMode:
     conf.command = "nimsuggest"
 
-  when false:
-    # These defines/options should not be enabled while processing nimscript
-    # bug #9420
-    undefSymbol(conf.symbols, "profiler")
-    undefSymbol(conf.symbols, "memProfiler")
-    undefSymbol(conf.symbols, "nodejs")
-
-    # bug #9120
-    conf.globalOptions.excl(optTaintMode)
-
   template runNimScriptIfExists(path: AbsoluteFile) =
     let p = path # eval once
     if fileExists(p):