]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.power64] cmd/cc: round argsize to multiples of wordsize on power64
authorShenghou Ma <minux@golang.org>
Wed, 13 Aug 2014 05:22:21 +0000 (01:22 -0400)
committerShenghou Ma <minux@golang.org>
Wed, 13 Aug 2014 05:22:21 +0000 (01:22 -0400)
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/121640043

src/cmd/cc/pgen.c

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