mirror of
https://github.com/golang/go
synced 2024-11-23 14:00:03 -07:00
runtime: fix windows build
#ifdef'ed out code wasn't updated for argp change. TBR=iant CC=golang-codereviews https://golang.org/cl/139040043
This commit is contained in:
parent
fa5f86281e
commit
60be96217d
@ -132,7 +132,7 @@ runtime·gentraceback(uintptr pc0, uintptr sp0, uintptr lr0, G *gp, int32 skip,
|
|||||||
// Invoke callback so that stack copier sees an uncopyable frame.
|
// Invoke callback so that stack copier sees an uncopyable frame.
|
||||||
if(callback != nil) {
|
if(callback != nil) {
|
||||||
frame.continpc = frame.pc;
|
frame.continpc = frame.pc;
|
||||||
frame.argp = nil;
|
frame.argp = 0;
|
||||||
frame.arglen = 0;
|
frame.arglen = 0;
|
||||||
if(!callback(&frame, v))
|
if(!callback(&frame, v))
|
||||||
return n;
|
return n;
|
||||||
|
Loading…
Reference in New Issue
Block a user