1
0
mirror of https://github.com/golang/go synced 2024-11-22 14:44:50 -07:00

runtime: fix build

TBR=dvyukov
CC=golang-dev
https://golang.org/cl/10227044
This commit is contained in:
Russ Cox 2013-06-12 09:06:28 -04:00
parent e58f798c0c
commit 80efeff20a

View File

@ -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;