Commit bc8d35a9 authored by Shenghou Ma's avatar Shenghou Ma

[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
parent 268d9011
...@@ -89,7 +89,7 @@ argsize(void) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment