diff options
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-x | compiler/nimrod.nim | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index 24b8518d7..6c999128c 100755 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -14,7 +14,7 @@ when defined(gcc) and defined(windows): {.link: "icons/nimrod_icon.o".} import - times, commands, lexer, condsyms, options, msgs, nversion, nimconf, ropes, + commands, lexer, condsyms, options, msgs, nversion, nimconf, ropes, extccomp, strutils, os, platform, main, parseopt, service when hasTinyCBackend: @@ -32,7 +32,6 @@ proc prependCurDir(f: string): string = result = f proc HandleCmdLine() = - var start = epochTime() if paramCount() == 0: writeCommandLineUsage() else: @@ -60,10 +59,6 @@ proc HandleCmdLine() = when hasTinyCBackend: if gCmd == cmdRun: tccgen.run() - if gCmd notin {cmdInterpret, cmdRun}: - rawMessage(hintSuccessX, [$gLinesCompiled, - formatFloat(epochTime() - start, ffDecimal, 3), - formatSize(getTotalMem())]) if optRun in gGlobalOptions: if gCmd == cmdCompileToEcmaScript: var ex = quoteIfContainsWhite( @@ -78,6 +73,7 @@ proc HandleCmdLine() = when defined(GC_setMaxPause): GC_setMaxPause 2_000 +GC_disableMarkAndSweep() condsyms.InitDefines() HandleCmdLine() quit(options.gExitcode) |