summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorYuriy Glukhov <yglukhov@users.noreply.github.com>2017-03-02 15:58:26 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-03-02 14:58:26 +0100
commit73387e89a09c376e5ca415bc4596281958ec3cae (patch)
treeddfeccdda2cfa21a827a6965ad42496fa9ec819f /lib
parentcd2721242ad8faf7013911ac57bfcfff62578a2f (diff)
downloadNim-73387e89a09c376e5ca415bc4596281958ec3cae.tar.gz
Fixed compilation error (#5462)
Diffstat (limited to 'lib')
-rw-r--r--lib/system/gc_common.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim
index e3b861fad..b0eb25616 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():