]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: delete gdata
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 11 Apr 2020 13:52:09 +0000 (06:52 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 20 Apr 2020 15:37:49 +0000 (15:37 +0000)
commit12d1c9b863ab5135d498a031616ff8a172e471a4
treef88b4b3139bc897c621607afc4abb9bb71372c4a
parented5233166fd75541d9d2464e1b165079ee948a53
cmd/compile: delete gdata

All callers to gdata knew the kind of node they were working with,
so all calls to gdata have been replaced with more specific calls.

Some OADDR nodes were constructed solely for the purpose of
passing them to gdata for unwrapping. In those cases, we can now
cut to the chase.

Passes toolstash-check.

Change-Id: Iacc1abefd7f748cb269661a03768d3367319b0b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/228888
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/obj.go
src/cmd/compile/internal/gc/sinit.go