mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 11:12:37 +00:00
Fixed compilation error (#5462)
This commit is contained in:
committed by
Andreas Rumpf
parent
cd2721242a
commit
73387e89a0
@@ -290,9 +290,6 @@ elif stackIncreases:
|
||||
|
||||
template forEachStackSlot(gch, gcMark: untyped) {.dirty.} =
|
||||
var registers {.noinit.}: C_JmpBuf
|
||||
# sp will traverse the JMP_BUF as well (jmp_buf size is added,
|
||||
# otherwise sp would be below the registers structure).
|
||||
var regAddr = addr(registers) +% jmpbufSize
|
||||
|
||||
if c_setjmp(registers) == 0'i32: # To fill the C stack with registers.
|
||||
for stack in gch.stack.items():
|
||||
|
||||
Reference in New Issue
Block a user