summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
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):