summary refs log tree commit diff stats
path: root/lib/system/gc_common.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-01-15 17:41:05 +0100
committerAraq <rumpf_a@web.de>2018-01-15 17:41:05 +0100
commitf1089db1755c1e8cc5bcf965cac64014005cac3a (patch)
treeafdfea52b76b32cc8b96d0d068f5ff130dd4c8d2 /lib/system/gc_common.nim
parent24a6583fa76289bfd725b61b9bd5effad7f5765a (diff)
downloadNim-f1089db1755c1e8cc5bcf965cac64014005cac3a.tar.gz
GC: enable precise global/thread local storage tracing
Diffstat (limited to 'lib/system/gc_common.nim')
-rw-r--r--lib/system/gc_common.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim
index f0abd918a..ad37df0e0 100644
--- a/lib/system/gc_common.nim
+++ b/lib/system/gc_common.nim
@@ -401,6 +401,7 @@ var
   globalMarkers: array[0.. 3499, GlobalMarkerProc]
   threadLocalMarkersLen: int
   threadLocalMarkers: array[0.. 3499, GlobalMarkerProc]
+  gHeapidGenerator: int
 
 proc nimRegisterGlobalMarker(markerProc: GlobalMarkerProc) {.compilerProc.} =
   if globalMarkersLen <= high(globalMarkers):