]> Cypherpunks repositories - gostls13.git/commitdiff
6g: delete unnecessary OXXX initialization.
authorNigel Tao <nigeltao@golang.org>
Mon, 10 Sep 2012 01:24:34 +0000 (11:24 +1000)
committerNigel Tao <nigeltao@golang.org>
Mon, 10 Sep 2012 01:24:34 +0000 (11:24 +1000)
No longer necessary after https://golang.org/cl/6497073/
removed the `if(n5.op != OXXX) { regfree(&n5); }`.

R=remy, r
CC=golang-dev, rsc
https://golang.org/cl/6498101

src/cmd/6g/cgen.c

index 4905a011c71498c101661e02c09e625bebda2ccc..05e7ac7a26029188ef326075402c30707f8f4ff4 100644 (file)
@@ -669,7 +669,6 @@ agen(Node *n, Node *res)
 
                if(!debug['B'] && !n->bounded) {
                        // check bounds
-                       n5.op = OXXX;
                        t = types[TUINT32];
                        if(is64(nr->type))
                                t = types[TUINT64];