summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-06-06 11:42:31 +0200
committerAdam Strzelecki <ono@java.pl>2015-07-03 14:05:00 +0200
commit3c20747394b9000afaec5c3416c8579d8c281b56 (patch)
tree7b018f5c1fbf956d517045c50e574a2f93251a6f /compiler/nim.nim
parentc009aadc74f6ad778a15afda47a4aa635b52921a (diff)
downloadNim-3c20747394b9000afaec5c3416c8579d8c281b56.tar.gz
Turn GC_getStatistics into hintGCStats
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index 89db22e8f..5da87dfa3 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -59,7 +59,7 @@ proc handleCmdLine() =
     extccomp.initVars()
     processCmdLine(passCmd2, "")
     mainCommand()
-    if gVerbosity >= 2: echo(GC_getStatistics())
+    if optHints in gOptions and hintGCStats in gNotes: echo(GC_getStatistics())
     #echo(GC_getStatistics())
     if msgs.gErrorCounter == 0:
       when hasTinyCBackend: