Commit 60be9621 authored by Russ Cox's avatar Russ Cox

runtime: fix windows build

#ifdef'ed out code wasn't updated for argp change.

TBR=iant
CC=golang-codereviews
https://golang.org/cl/139040043
parent fa5f8628
...@@ -132,7 +132,7 @@ runtime·gentraceback(uintptr pc0, uintptr sp0, uintptr lr0, G *gp, int32 skip, ...@@ -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;
......
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