1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:50:21 -07:00

with rsc: argsize rounding to 8 smashes stack data on 32bit machines.

R=rsc
http://go/go-review/1024011
This commit is contained in:
Kai Backman 2009-11-06 13:50:58 -08:00
parent 9bbbe7d3e1
commit de663b2d6b

View File

@ -52,7 +52,11 @@ argsize(void)
}
//print(" %d %T\n", s, t);
}
return (s+7) & ~7;
if(thechar == '6')
s = (s+7) & ~7;
else
s = (s+3) & ~3;
return s;
}
void