Skip to content

Commit cdd0dda

Browse files
committed
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 <[email protected]> Reviewed-by: Keith Randall <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent b138b19 commit cdd0dda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/internal/abi/iface.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ package abi
1212
type ITab struct {
1313
Inter *InterfaceType
1414
Type *Type
15-
Hash uint32 // copy of Type.Hash. Used for type switches.
16-
_ [4]byte
15+
Hash uint32 // copy of Type.Hash. Used for type switches.
1716
Fun [1]uintptr // variable sized. fun[0]==0 means Type does not implement Inter.
1817
}

0 commit comments

Comments
 (0)