]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/x86: unexport movtab
authorartemkaxboy <artemkaxboy@gmail.com>
Fri, 23 Nov 2018 05:52:53 +0000 (12:52 +0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 1 Mar 2019 16:04:36 +0000 (16:04 +0000)
Change-Id: Ia071f6914b3c155a88103f930af00028986ec8c7
Reviewed-on: https://go-review.googlesource.com/c/151019
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/obj/x86/asm6.go

index c3da29ce2cbd4e78d766bafca4861ea503cf0466..987ded2fca18caf2700eeb7796715fdb76cfbe26 100644 (file)
@@ -92,7 +92,7 @@ type Optab struct {
        op     opBytes
 }
 
-type Movtab struct {
+type movtab struct {
        as   obj.As
        ft   uint8
        f3t  uint8
@@ -3619,7 +3619,7 @@ const (
        movTLSReg
 )
 
-var ymovtab = []Movtab{
+var ymovtab = []movtab{
        // push
        {APUSHL, Ycs, Ynone, Ynone, movLit, [4]uint8{0x0e, 0}},
        {APUSHL, Yss, Ynone, Ynone, movLit, [4]uint8{0x16, 0}},
@@ -3733,8 +3733,8 @@ var ymovtab = []Movtab{
        {AMOVW, Ytask, Ynone, Yml, movRegMem2op, [4]uint8{0x0f, 0x00, 1, 0}},
 
        /* load full pointer - unsupported
-       Movtab{AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}},
-       Movtab{AMOVW, Yml, Ycol, movFullPtr, [4]uint8{Pe, 0, 0, 0}},
+       {AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}},
+       {AMOVW, Yml, Ycol, movFullPtr, [4]uint8{Pe, 0, 0, 0}},
        */
 
        // double shift