Skip to content

Commit e881604

Browse files
artemkaxboybradfitz
authored andcommitted
cmd/internal/obj/x86: unexport movtab
Change-Id: Ia071f6914b3c155a88103f930af00028986ec8c7 Reviewed-on: https://go-review.googlesource.com/c/151019 Reviewed-by: Cherry Zhang <[email protected]>
1 parent 192b675 commit e881604

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cmd/internal/obj/x86/asm6.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ type Optab struct {
9292
op opBytes
9393
}
9494

95-
type Movtab struct {
95+
type movtab struct {
9696
as obj.As
9797
ft uint8
9898
f3t uint8
@@ -3619,7 +3619,7 @@ const (
36193619
movTLSReg
36203620
)
36213621

3622-
var ymovtab = []Movtab{
3622+
var ymovtab = []movtab{
36233623
// push
36243624
{APUSHL, Ycs, Ynone, Ynone, movLit, [4]uint8{0x0e, 0}},
36253625
{APUSHL, Yss, Ynone, Ynone, movLit, [4]uint8{0x16, 0}},
@@ -3733,8 +3733,8 @@ var ymovtab = []Movtab{
37333733
{AMOVW, Ytask, Ynone, Yml, movRegMem2op, [4]uint8{0x0f, 0x00, 1, 0}},
37343734

37353735
/* load full pointer - unsupported
3736-
Movtab{AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}},
3737-
Movtab{AMOVW, Yml, Ycol, movFullPtr, [4]uint8{Pe, 0, 0, 0}},
3736+
{AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}},
3737+
{AMOVW, Yml, Ycol, movFullPtr, [4]uint8{Pe, 0, 0, 0}},
37383738
*/
37393739

37403740
// double shift

0 commit comments

Comments
 (0)