]> Cypherpunks repositories - gostls13.git/commitdiff
5g, 6g: comment out uses of -r
authorRuss Cox <rsc@golang.org>
Tue, 18 Oct 2011 18:55:28 +0000 (14:55 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 18 Oct 2011 18:55:28 +0000 (14:55 -0400)
R=ken2
CC=golang-dev
https://golang.org/cl/5299043

src/cmd/5g/gsubr.c
src/cmd/6g/gobj.c

index 29793abf014d78d63587d2b2edb3d0815196a98b..f287214533fc258621df715f7af01254a5c0bdec 100644 (file)
@@ -356,7 +356,7 @@ regalloc(Node *n, Type *t, Node *o)
 {
        int i, et, fixfree, floatfree;
 
-       if(debug['r']) {
+       if(0 && debug['r']) {
                fixfree = 0;
                for(i=REGALLOC_R0; i<=REGALLOC_RMAX; i++)
                        if(reg[i] == 0)
@@ -429,7 +429,7 @@ regfree(Node *n)
 {
        int i, fixfree, floatfree;
 
-       if(debug['r']) {
+       if(0 && debug['r']) {
                fixfree = 0;
                for(i=REGALLOC_R0; i<=REGALLOC_RMAX; i++)
                        if(reg[i] == 0)
index dfb5e224afc3a6ac3877db45292bfc3702c77cdf..80de2f750b8265e2fc16a2acc9e2fdca2eeb248f 100644 (file)
@@ -506,7 +506,7 @@ genembedtramp(Type *rcvr, Type *method, Sym *newnam, int iface)
        
        USED(iface);
 
-       if(debug['r'])
+       if(0 && debug['r'])
                print("genembedtramp %T %T %S\n", rcvr, method, newnam);
 
        e = method->sym;