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:
parent
9bbbe7d3e1
commit
de663b2d6b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user