]> Cypherpunks repositories - gostls13.git/commitdiff
gc: compactframe breaks arm - fix build
authorRuss Cox <rsc@golang.org>
Thu, 9 Jun 2011 22:28:27 +0000 (18:28 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 9 Jun 2011 22:28:27 +0000 (18:28 -0400)
R=lvd
CC=golang-dev
https://golang.org/cl/4591063

src/cmd/gc/pgen.c

index c24648737b73b289530458d8e2146ababc7af9d7..ab6186697352b215d82196dd3f6851502759b9dc 100644 (file)
@@ -111,7 +111,8 @@ compile(Node *fn)
        }
 
        oldstksize = stksize;
-       compactframe(ptxt);
+       if(thechar != '5')
+               compactframe(ptxt);
        if(0)
                print("compactframe: %ld to %ld\n", oldstksize, stksize);