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:
parent
e58f798c0c
commit
80efeff20a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user