Commit 80efeff2 authored by Russ Cox's avatar Russ Cox

runtime: fix build

TBR=dvyukov
CC=golang-dev
https://golang.org/cl/10227044
parent e58f798c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment