summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-29 10:43:41 +0100
committerAraq <rumpf_a@web.de>2012-01-29 10:43:41 +0100
commite75be73688dece12ae4d0b844cb8c3cddb9d45be (patch)
treeace1fa99cfc7cce3b5673a6bb836ed380af222c0 /lib/system
parent40881a414082e87d7f4820fe9185adc29e4a2dff (diff)
downloadNim-e75be73688dece12ae4d0b844cb8c3cddb9d45be.tar.gz
--tlsEmulation:on works in debug mode again
Diffstat (limited to 'lib/system')
-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)