diff options
Diffstat (limited to 'lib/system/gc.nim')
-rw-r--r-- | lib/system/gc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/gc.nim b/lib/system/gc.nim index 36c008bef..f5b68b9db 100644 --- a/lib/system/gc.nim +++ b/lib/system/gc.nim @@ -759,7 +759,7 @@ else: # Used to traverse the stack and registers assuming # that 'setjmp' will save registers in the C stack. type PStackSlice = ptr array [0..7, pointer] - var registers: C_JmpBuf + var registers {.noinit.}: C_JmpBuf if c_setjmp(registers) == 0'i32: # To fill the C stack with registers. var max = cast[TAddress](gch.stackBottom) var sp = cast[TAddress](addr(registers)) |