diff options
author | Araq <rumpf_a@web.de> | 2018-01-15 17:41:05 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-01-15 17:41:05 +0100 |
commit | f1089db1755c1e8cc5bcf965cac64014005cac3a (patch) | |
tree | afdfea52b76b32cc8b96d0d068f5ff130dd4c8d2 /lib/system/gc_common.nim | |
parent | 24a6583fa76289bfd725b61b9bd5effad7f5765a (diff) | |
download | Nim-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.nim | 1 |
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): |