mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile/internal/ssa: remove unused OpFunc
Change-Id: I0f7eec2e0c15a355422d5ae7289508a5bd33b971 Reviewed-on: https://go-review.googlesource.com/38171 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
295307ae78
commit
91d08e3bca
2 changed files with 3 additions and 12 deletions
|
|
@ -281,10 +281,9 @@ var genericOps = []opData{
|
||||||
// or *AutoSymbol (arg0=SP).
|
// or *AutoSymbol (arg0=SP).
|
||||||
{name: "Addr", argLength: 1, aux: "Sym", symEffect: "Addr"}, // Address of a variable. Arg0=SP or SB. Aux identifies the variable.
|
{name: "Addr", argLength: 1, aux: "Sym", symEffect: "Addr"}, // Address of a variable. Arg0=SP or SB. Aux identifies the variable.
|
||||||
|
|
||||||
{name: "SP"}, // stack pointer
|
{name: "SP"}, // stack pointer
|
||||||
{name: "SB", typ: "Uintptr"}, // static base pointer (a.k.a. globals pointer)
|
{name: "SB", typ: "Uintptr"}, // static base pointer (a.k.a. globals pointer)
|
||||||
{name: "Func", aux: "Sym", symEffect: "None"}, // entry address of a function
|
{name: "Invalid"}, // unused value
|
||||||
{name: "Invalid"}, // unused value
|
|
||||||
|
|
||||||
// Memory operations
|
// Memory operations
|
||||||
{name: "Load", argLength: 2}, // Load from arg0. arg1=memory
|
{name: "Load", argLength: 2}, // Load from arg0. arg1=memory
|
||||||
|
|
|
||||||
|
|
@ -1783,7 +1783,6 @@ const (
|
||||||
OpAddr
|
OpAddr
|
||||||
OpSP
|
OpSP
|
||||||
OpSB
|
OpSB
|
||||||
OpFunc
|
|
||||||
OpLoad
|
OpLoad
|
||||||
OpStore
|
OpStore
|
||||||
OpMove
|
OpMove
|
||||||
|
|
@ -21552,13 +21551,6 @@ var opcodeTable = [...]opInfo{
|
||||||
argLen: 0,
|
argLen: 0,
|
||||||
generic: true,
|
generic: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "Func",
|
|
||||||
auxType: auxSym,
|
|
||||||
argLen: 0,
|
|
||||||
symEffect: SymNone,
|
|
||||||
generic: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Load",
|
name: "Load",
|
||||||
argLen: 2,
|
argLen: 2,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue