]> Cypherpunks repositories - gostls13.git/commit
cmd/compile, etc: handle many struct fields
authorDavid Crawshaw <crawshaw@golang.org>
Tue, 14 Jun 2016 14:20:11 +0000 (10:20 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Tue, 14 Jun 2016 15:32:34 +0000 (15:32 +0000)
commitaf0fc83985860776551d15be3a8fefde35514bcb
tree8d3448bd28b0cc6deaf8ef74b3e36199be609d2e
parent53242e49b127ede6d7b258c7e90c39a5afa70c25
cmd/compile, etc: handle many struct fields

This adds 8 bytes of binary size to every type that has methods. It is
the smallest change I could come up with for 1.7.

Fixes #16037

Change-Id: Ibe15c3165854a21768596967757864b880dbfeed
Reviewed-on: https://go-review.googlesource.com/24070
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/reflect.go
src/cmd/link/internal/ld/decodesym.go
src/reflect/type.go
src/runtime/type.go
test/fixedbugs/issue16037_run.go [new file with mode: 0644]