增加websocket支持
This commit is contained in:
2
vendor/golang.org/x/arch/x86/x86asm/gnu.go
generated
vendored
2
vendor/golang.org/x/arch/x86/x86asm/gnu.go
generated
vendored
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
// GNUSyntax returns the GNU assembler syntax for the instruction, as defined by GNU binutils.
|
||||
// This general form is often called “AT&T syntax” as a reference to AT&T System V Unix.
|
||||
// This general form is often called ``AT&T syntax'' as a reference to AT&T System V Unix.
|
||||
func GNUSyntax(inst Inst, pc uint64, symname SymLookup) string {
|
||||
// Rewrite instruction to mimic GNU peculiarities.
|
||||
// Note that inst has been passed by value and contains
|
||||
|
||||
2
vendor/golang.org/x/arch/x86/x86asm/inst.go
generated
vendored
2
vendor/golang.org/x/arch/x86/x86asm/inst.go
generated
vendored
@@ -144,7 +144,7 @@ type Arg interface {
|
||||
// the interface value instead of requiring an allocation.
|
||||
|
||||
// A Reg is a single register.
|
||||
// The zero Reg value has no name but indicates “no register.”
|
||||
// The zero Reg value has no name but indicates ``no register.''
|
||||
type Reg uint8
|
||||
|
||||
const (
|
||||
|
||||
6
vendor/golang.org/x/arch/x86/x86asm/plan9x.go
generated
vendored
6
vendor/golang.org/x/arch/x86/x86asm/plan9x.go
generated
vendored
@@ -83,12 +83,6 @@ func GoSyntax(inst Inst, pc uint64, symname SymLookup) string {
|
||||
}
|
||||
}
|
||||
|
||||
if inst.Op == CMP {
|
||||
// Use reads-left-to-right ordering for comparisons.
|
||||
// See issue 60920.
|
||||
args[0], args[1] = args[1], args[0]
|
||||
}
|
||||
|
||||
if args != nil {
|
||||
op += " " + strings.Join(args, ", ")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user