summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-09-28 21:48:43 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-09-28 21:48:43 +0200
commit7349d12e9614de32294a5a61570530e9442077c3 (patch)
treeebea9730e99b883a0a094d6f1e4516c16afdac61 /compiler/nim.nim
parent05c6cb5f9f0080a4f5c56e4555cfa7c359ca0cf5 (diff)
downloadNim-7349d12e9614de32294a5a61570530e9442077c3.tar.gz
GC v2 works sometimes
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index 56885e9f1..89225a5e0 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -119,4 +119,6 @@ condsyms.initDefines()
 
 when not defined(selftest):
   handleCmdLine(newIdentCache(), newConfigRef())
+  when declared(GC_setMaxPause):
+    echo GC_getStatistics()
   msgQuit(int8(msgs.gErrorCounter > 0))