mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile, cmd/link, reflect, runtime: remove type.zero field
No longer used after previous hashmap change. Change-Id: I558470f872281e84a78406132df4e391d077b833 Reviewed-on: https://go-review.googlesource.com/13785 Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
dc110f245d
commit
af78482d6b
4 changed files with 22 additions and 31 deletions
|
|
@ -8,8 +8,8 @@ package runtime
|
|||
|
||||
import "unsafe"
|
||||
|
||||
// Needs to be in sync with ../cmd/internal/ld/decodesym.go:/^func.commonsize,
|
||||
// ../cmd/internal/gc/reflect.go:/^func.dcommontype and
|
||||
// Needs to be in sync with ../cmd/compile/internal/ld/decodesym.go:/^func.commonsize,
|
||||
// ../cmd/compile/internal/gc/reflect.go:/^func.dcommontype and
|
||||
// ../reflect/type.go:/^type.rtype.
|
||||
type _type struct {
|
||||
size uintptr
|
||||
|
|
@ -27,7 +27,6 @@ type _type struct {
|
|||
_string *string
|
||||
x *uncommontype
|
||||
ptrto *_type
|
||||
zero *byte // unused
|
||||
}
|
||||
|
||||
type method struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue