aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types/sizeof_test.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2017-04-19 15:15:49 -0700
committerRobert Griesemer <gri@golang.org>2017-04-19 22:51:21 +0000
commit1368977a0869c408c8b001bc4142e5b73267f8c8 (patch)
tree02d10c88f7391c960e8a3092b969f255506d8eef /src/cmd/compile/internal/types/sizeof_test.go
parent33fd319cbcf9f4809c6bc9a9d21a05b516824f0a (diff)
downloadgo-1368977a0869c408c8b001bc4142e5b73267f8c8.tar.gz
go-1368977a0869c408c8b001bc4142e5b73267f8c8.zip
cmd/compile/internal/types: remove Sym.Link field
The dclstack is now a proper stack and thus we can implement it using a slice rather than a linked list. Change-Id: I200e85621ff76c111bdeb7eb382fd82da438f3ba Reviewed-on: https://go-review.googlesource.com/41135 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types/sizeof_test.go')
-rw-r--r--src/cmd/compile/internal/types/sizeof_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/types/sizeof_test.go b/src/cmd/compile/internal/types/sizeof_test.go
index e3fa761692..d31e169b00 100644
--- a/src/cmd/compile/internal/types/sizeof_test.go
+++ b/src/cmd/compile/internal/types/sizeof_test.go
@@ -22,7 +22,7 @@ func TestSizeof(t *testing.T) {
_32bit uintptr // size on 32bit platforms
_64bit uintptr // size on 64bit platforms
}{
- {Sym{}, 60, 104},
+ {Sym{}, 56, 96},
{Type{}, 52, 88},
{Map{}, 20, 40},
{Forward{}, 20, 32},