aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/sizeof_test.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-09-15 19:00:05 -0700
committerMatthew Dempsky <mdempsky@google.com>2016-09-16 02:47:34 +0000
commit1bd91d4ccc57d3dbb2e5452c16ff6281d53e9763 (patch)
tree878a5fc484ec1ba72905956be37bf72bac1e237e /src/cmd/internal/obj/sizeof_test.go
parent073d248bf50b1b1029b2a09c575111f38f6bf5eb (diff)
downloadgo-1bd91d4ccc57d3dbb2e5452c16ff6281d53e9763.tar.xz
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>
Diffstat (limited to 'src/cmd/internal/obj/sizeof_test.go')
-rw-r--r--src/cmd/internal/obj/sizeof_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/sizeof_test.go b/src/cmd/internal/obj/sizeof_test.go
index f7173d3c4c..6fe99739c9 100644
--- a/src/cmd/internal/obj/sizeof_test.go
+++ b/src/cmd/internal/obj/sizeof_test.go
@@ -22,9 +22,9 @@ func TestSizeof(t *testing.T) {
_32bit uintptr // size on 32bit platforms
_64bit uintptr // size on 64bit platforms
}{
- {Addr{}, 52, 80},
+ {Addr{}, 44, 72},
{LSym{}, 80, 136},
- {Prog{}, 196, 288},
+ {Prog{}, 180, 272},
}
for _, tt := range tests {