mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 13:33:22 +00:00
--tlsEmulation:on works in debug mode again
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user