aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types/sizeof_test.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2017-04-22 17:35:28 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2017-04-23 12:11:42 +0000
commitd40bb738ff59bada723fe5f834d41531391b532a (patch)
tree677e336d39393d0d693c739c9a850524a2cc3689 /src/cmd/compile/internal/types/sizeof_test.go
parent90bd5eccb9ed0964ee9739b6da077a8b1470198b (diff)
downloadgo-d40bb738ff59bada723fe5f834d41531391b532a.tar.gz
go-d40bb738ff59bada723fe5f834d41531391b532a.zip
cmd/compile: remove types.Sym.lsym
It was just a cache, and the CL series yesterday removed 40% of the calls to types.Linksym in make.bash. Testing atop CL 40693 (backend concurrency) indicates that removing it is actually a very minor performance improvement. Passes toolstash-check. Change-Id: I97c2973036964acdd11b3cb842bc31f33ae60389 Reviewed-on: https://go-review.googlesource.com/41492 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> 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 d31e169b00..04e2f01e92 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{}, 56, 96},
+ {Sym{}, 52, 88},
{Type{}, 52, 88},
{Map{}, 20, 40},
{Forward{}, 20, 32},