1
0
mirror of https://github.com/golang/go synced 2024-10-05 16:41:21 -06:00

[dev.power64] cmd/cc: round argsize to multiples of wordsize on power64

LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/121640043
This commit is contained in:
Shenghou Ma 2014-08-13 01:22:21 -04:00
parent 268d901199
commit bc8d35a9cf

View File

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