mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
internal/abi, runtime, cmd: merge funcID_* consts into internal/abi
For #59670. Change-Id: I517e97ea74cf232e5cfbb77b127fa8804f74d84b Reviewed-on: https://go-review.googlesource.com/c/go/+/485495 Reviewed-by: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Austin Clements <austin@google.com> Run-TryBot: Austin Clements <austin@google.com>
This commit is contained in:
parent
eaecd64200
commit
9754521157
16 changed files with 124 additions and 134 deletions
|
|
@ -14,6 +14,7 @@ import (
|
|||
"cmd/link/internal/sym"
|
||||
"debug/elf"
|
||||
"fmt"
|
||||
"internal/abi"
|
||||
"io"
|
||||
"log"
|
||||
"math/bits"
|
||||
|
|
@ -1990,7 +1991,7 @@ func (fi *FuncInfo) Locals() int {
|
|||
return int((*goobj.FuncInfo)(nil).ReadLocals(fi.data))
|
||||
}
|
||||
|
||||
func (fi *FuncInfo) FuncID() objabi.FuncID {
|
||||
func (fi *FuncInfo) FuncID() abi.FuncID {
|
||||
return (*goobj.FuncInfo)(nil).ReadFuncID(fi.data)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue