mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
073d248bf5
commit
1bd91d4ccc
4 changed files with 2 additions and 44 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue