diff options
author | Araq <rumpf_a@web.de> | 2012-01-29 10:43:41 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-01-29 10:43:41 +0100 |
commit | e75be73688dece12ae4d0b844cb8c3cddb9d45be (patch) | |
tree | ace1fa99cfc7cce3b5673a6bb836ed380af222c0 /lib/system | |
parent | 40881a414082e87d7f4820fe9185adc29e4a2dff (diff) | |
download | Nim-e75be73688dece12ae4d0b844cb8c3cddb9d45be.tar.gz |
--tlsEmulation:on works in debug mode again
Diffstat (limited to 'lib/system')
-rwxr-xr-x | lib/system/alloc.nim | 2 |
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) |