mirror of
https://github.com/golang/go
synced 2024-11-22 01:24:42 -07:00
runtime: fix traceback across morestack
R=golang-dev, r CC=golang-dev https://golang.org/cl/12287043
This commit is contained in:
parent
fc5a63066b
commit
13507e0697
@ -204,6 +204,10 @@ TEXT runtime·morestack(SB),7,$-4-0
|
||||
MOVW (g_sched+gobuf_sp)(g), SP
|
||||
BL runtime·newstack(SB)
|
||||
|
||||
// Not reached, but make sure the return PC from the call to newstack
|
||||
// is still in this function, and not the beginning of the next.
|
||||
RET
|
||||
|
||||
// Called from reflection library. Mimics morestack,
|
||||
// reuses stack growth code to create a frame
|
||||
// with the desired args running the desired function.
|
||||
|
Loading…
Reference in New Issue
Block a user