diff --git a/src/cmd/internal/obj/x86/asm6.go b/src/cmd/internal/obj/x86/asm6.go index b625845c09..9faaba3759 100644 --- a/src/cmd/internal/obj/x86/asm6.go +++ b/src/cmd/internal/obj/x86/asm6.go @@ -3951,10 +3951,7 @@ func isax(a *obj.Addr) bool { return true } - if a.Index == REG_AX { - return true - } - return false + return a.Index == REG_AX } func subreg(p *obj.Prog, from int, to int) {