From 73387e89a09c376e5ca415bc4596281958ec3cae Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Thu, 2 Mar 2017 15:58:26 +0200 Subject: [PATCH] Fixed compilation error (#5462) --- lib/system/gc_common.nim | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim index e3b861fadb..b0eb256161 100644 --- a/lib/system/gc_common.nim +++ b/lib/system/gc_common.nim @@ -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():