]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove commented-out old c code
authorAlberto Donizetti <alb.donizetti@gmail.com>
Tue, 27 Sep 2016 15:23:08 +0000 (17:23 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 27 Sep 2016 15:59:19 +0000 (15:59 +0000)
Change-Id: I9b2e6c45f7e83543a06d0aafd08a911f7b6485fd
Reviewed-on: https://go-review.googlesource.com/29874
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/init.go

index f33a97c167c3997ac2b98b64053d2427ac261b5f..6b3f5600af71692d7fa0efa82da7365bfedceb3e 100644 (file)
@@ -4,19 +4,6 @@
 
 package gc
 
-//     case OADD:
-//             if(n->right->op == OLITERAL) {
-//                     v = n->right->vconst;
-//                     naddr(n->left, a, canemitcode);
-//             } else
-//             if(n->left->op == OLITERAL) {
-//                     v = n->left->vconst;
-//                     naddr(n->right, a, canemitcode);
-//             } else
-//                     goto bad;
-//             a->offset += v;
-//             break;
-
 // a function named init is a special case.
 // it is called by the initialization before
 // main is run. to make it unique within a