cmd/internal/obj: remove Addr.Etype and Addr.Width

Since the legacy backends were removed, these fields are write-only.

Change-Id: I4816c39267b7c10a4da2a6d22cd367dc475e564d
Reviewed-on: https://go-review.googlesource.com/29246
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
Matthew Dempsky 2016-09-15 19:00:05 -07:00
parent 073d248bf5
commit 1bd91d4ccc
4 changed files with 2 additions and 44 deletions

View file

@ -355,7 +355,6 @@ func datagostring(sval string, a *obj.Addr) {
a.Name = obj.NAME_EXTERN
a.Sym = symhdr
a.Offset = 0
a.Etype = uint8(TSTRING)
}
func dsname(s *Sym, off int, t string) int {