summary refs log tree commit diff stats
path: root/lib/system/alloc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/alloc.nim')
-rwxr-xr-xlib/system/alloc.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim
index a5a3c0e03..f3474a527 100755
--- a/lib/system/alloc.nim
+++ b/lib/system/alloc.nim
@@ -172,10 +172,12 @@ var
   bottomData: TAvlNode
   bottom: PAvlNode
 
+{.push stack_trace: off.}
 proc initAllocator() =
   bottom = addr(bottomData)
   bottom.link[0] = bottom
   bottom.link[1] = bottom
+{.pop.}
 
 proc incCurrMem(a: var TMemRegion, bytes: int) {.inline.} = 
   inc(a.currMem, bytes)