aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/data.go
diff options
context:
space:
mode:
authorHeschi Kreinick <heschi@google.com>2018-02-28 16:30:07 -0500
committerHeschi Kreinick <heschi@google.com>2018-03-02 18:55:45 +0000
commitcaa1b4afbd145358450587053f290e6870c04b1c (patch)
tree0f6d2f71c2945dcca2f1606b34b81fd9ce1ca338 /src/cmd/internal/obj/data.go
parentb77aad089176ecab971d3a72f0357ed0abc81f4a (diff)
downloadgo-caa1b4afbd145358450587053f290e6870c04b1c.tar.xz
cmd/compile/internal/ssa: note zero-width Ops
Add a bool to opInfo to indicate if an Op never results in any instructions. This is a conservative approximation: some operations, like Copy, may or may not generate code depending on their arguments. I built the list by reading each arch's ssaGenValue function. Hopefully I got them all. Change-Id: I130b251b65f18208294e129bb7ddc3f91d57d31d Reviewed-on: https://go-review.googlesource.com/97957 Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/data.go')
0 files changed, 0 insertions, 0 deletions