1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:18:32 -06:00

32-bit stack switching bug fix

R=ken
OCL=29412
CL=29412
This commit is contained in:
Russ Cox 2009-05-26 17:13:39 -07:00
parent 51ddddc67e
commit 5273868f67
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ TEXT setspgoto(SB), 7, $0
MOVL AX, SP
PUSHL CX
JMP BX
POPL AX
POPL AX // not reached
RET
// bool cas(int32 *val, int32 old, int32 new)

View File

@ -705,7 +705,7 @@ newstack(void)
#pragma textflag 7
void
sys·morestack(uint64 u)
sys·morestack(uintptr u)
{
while(g == m->g0) {
// very bad news