]> Cypherpunks repositories - gostls13.git/commit
32-bit fixes in lessstack.
authorRuss Cox <rsc@golang.org>
Wed, 3 Jun 2009 06:02:12 +0000 (23:02 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 3 Jun 2009 06:02:12 +0000 (23:02 -0700)
commitaa3222d88f3812135008fb4c6d40bdcc946b263b
treeba72582362502d85557b8f42ce353fc6958ced9c
parent07393f8706c7bfc6ddc3088eac3db169065499b9
32-bit fixes in lessstack.

avoid tight coupling between deferreturn and jmpdefer.
before, jmpdefer knew the exact frame size of deferreturn
in order to pop it off the stack.  now, deferreturn passes
jmpdefer a pointer to the frame above it explicitly.
that avoids a magic constant and should be less fragile.

R=r
DELTA=32  (6 added, 3 deleted, 23 changed)
OCL=29801
CL=29804
src/runtime/386/asm.s
src/runtime/amd64/asm.s
src/runtime/proc.c
src/runtime/runtime.h