mirror of
https://github.com/golang/go
synced 2024-09-29 09:24:28 -06:00
internal/abi: get rid of itab blank field
We don't need it anymore, as we're accessing all the field offsets symbolically. This won't affect 64-bit, but it makes itabs on 32-bit 4 bytes smaller. Change-Id: I7fb937813111476fd5ab03005b248ea7bb962cf6 Reviewed-on: https://go-review.googlesource.com/c/go/+/549517 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
b138b19d2f
commit
cdd0ddaf45
@ -12,7 +12,6 @@ package abi
|
||||
type ITab struct {
|
||||
Inter *InterfaceType
|
||||
Type *Type
|
||||
Hash uint32 // copy of Type.Hash. Used for type switches.
|
||||
_ [4]byte
|
||||
Hash uint32 // copy of Type.Hash. Used for type switches.
|
||||
Fun [1]uintptr // variable sized. fun[0]==0 means Type does not implement Inter.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user