]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove unused cases in Naddr
authorMatthew Dempsky <mdempsky@google.com>
Fri, 16 Sep 2016 02:48:53 +0000 (19:48 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 16 Sep 2016 03:45:18 +0000 (03:45 +0000)
commit9658de32c6141ca036a741006da5b83b4b2c6af5
tree07af1217892db4cb07c2ddf4d46183865d978dda
parentc55c33af52c5ed97c93ec67bf7373d095bcb957d
cmd/compile: remove unused cases in Naddr

Gins, and in turn Naddr, is only used with ONAME and OLITERAL Nodes,
so we can drastically simplify Naddr.

Passes toolstash/buildall.

Change-Id: I2deb7eb771fd55e7c7f00040a9aee54588fcac11
Reviewed-on: https://go-review.googlesource.com/29247
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/gsubr.go