summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/arch/x86/x86asm/decode.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/arch/x86/x86asm/decode.go')
-rw-r--r--vendor/golang.org/x/arch/x86/x86asm/decode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/arch/x86/x86asm/decode.go b/vendor/golang.org/x/arch/x86/x86asm/decode.go
index 8c984970b..059b73d3f 100644
--- a/vendor/golang.org/x/arch/x86/x86asm/decode.go
+++ b/vendor/golang.org/x/arch/x86/x86asm/decode.go
@@ -1550,7 +1550,7 @@ var addr16 = [8]Mem{
{Base: BX},
}
-// baseReg returns the base register for a given register size in bits.
+// baseRegForBits returns the base register for a given register size in bits.
func baseRegForBits(bits int) Reg {
switch bits {
case 8: