runtime: stop plan9/amd64 build from crashing

LGTM=iant
R=rsc, 0intro, alex.brainman, iant
CC=golang-codereviews
https://golang.org/cl/140460044
This commit is contained in:
Anthony Martin 2014-09-10 06:25:05 -07:00 committed by Ian Lance Taylor
parent d955dfb007
commit 2302b21bbe
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ onm:
// record an argument size. For that purpose, it has no arguments.
TEXT runtime·morestack(SB),NOSPLIT,$0-0
// Cannot grow scheduler stack (m->g0).
get_tls(CX)
MOVQ g(CX), BX
MOVQ g_m(BX), BX
MOVQ m_g0(BX), SI