From: Russ Cox Date: Wed, 12 Jun 2013 13:06:28 +0000 (-0400) Subject: runtime: fix build X-Git-Tag: go1.2rc2~1264 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=80efeff20a88392b13f78338f5a17605fc55e460;p=gostls13.git runtime: fix build TBR=dvyukov CC=golang-dev https://golang.org/cl/10227044 --- diff --git a/src/pkg/runtime/traceback_x86.c b/src/pkg/runtime/traceback_x86.c index b9a6b07383..e6e132e253 100644 --- a/src/pkg/runtime/traceback_x86.c +++ b/src/pkg/runtime/traceback_x86.c @@ -112,7 +112,7 @@ runtime·gentraceback(uintptr pc0, uintptr sp0, uintptr lr0, G *gp, int32 skip, } // Derive location and size of local variables. - if(frame.fp == frame.sp) { + if(frame.fp == frame.sp + sizeof(uintptr)) { // Function has not created a frame for itself yet. frame.varp = nil; frame.varlen = 0;