mirror of
https://github.com/golang/go
synced 2024-09-19 16:01:33 +00:00
cmd: fix mismatched symbols
Change-Id: Ib2c4ddec9740f7c21c180c9f0980394dceeedfaa Reviewed-on: https://go-review.googlesource.com/c/go/+/473975 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
parent
84609d874e
commit
a42bb79dd4
|
@ -92,7 +92,7 @@ type RegIndex uint8
|
|||
// ABIParamAssignment holds information about how a specific param or
|
||||
// result will be passed: in registers (in which case 'Registers' is
|
||||
// populated) or on the stack (in which case 'Offset' is set to a
|
||||
// non-negative stack offset. The values in 'Registers' are indices
|
||||
// non-negative stack offset). The values in 'Registers' are indices
|
||||
// (as described above), not architected registers.
|
||||
type ABIParamAssignment struct {
|
||||
Type *types.Type
|
||||
|
|
|
@ -321,7 +321,7 @@ func eqfield(p ir.Node, q ir.Node, op ir.Op, field *types.Sym) ir.Node {
|
|||
|
||||
// eqmem returns the node
|
||||
//
|
||||
// memequal(&p.field, &q.field, size])
|
||||
// memequal(&p.field, &q.field, size)
|
||||
func eqmem(p ir.Node, q ir.Node, field *types.Sym, size int64) ir.Node {
|
||||
nx := typecheck.Expr(typecheck.NodAddr(ir.NewSelectorExpr(base.Pos, ir.OXDOT, p, field)))
|
||||
ny := typecheck.Expr(typecheck.NodAddr(ir.NewSelectorExpr(base.Pos, ir.OXDOT, q, field)))
|
||||
|
|
|
@ -1751,7 +1751,7 @@ func isNamedRegParam(p abi.ABIParamAssignment) bool {
|
|||
// it constructs a 2-element location list: the first element holds
|
||||
// the input register, and the second element holds the stack location
|
||||
// of the param (the assumption being that when optimization is off,
|
||||
// each input param reg will be spilled in the prolog.
|
||||
// each input param reg will be spilled in the prolog).
|
||||
func BuildFuncDebugNoOptimized(ctxt *obj.Link, f *Func, loggingEnabled bool, stackOffset func(LocalSlot) int32, rval *FuncDebug) {
|
||||
|
||||
pri := f.ABISelf.ABIAnalyzeFuncType(f.Type.FuncType())
|
||||
|
|
|
@ -303,7 +303,7 @@ func (o *orderState) mapKeyTemp(outerPos src.XPos, t *types.Type, n ir.Node) ir.
|
|||
// For:
|
||||
//
|
||||
// x = m[string(k)]
|
||||
// x = m[T1{... Tn{..., string(k), ...}]
|
||||
// x = m[T1{... Tn{..., string(k), ...}}]
|
||||
//
|
||||
// where k is []byte, T1 to Tn is a nesting of struct and array literals,
|
||||
// the allocation of backing bytes for the string can be avoided
|
||||
|
|
|
@ -166,7 +166,7 @@ func (mm *metaMerge) beginPod() {
|
|||
//
|
||||
// Case 2: if this is a select merge (-pkg is in effect), then at
|
||||
// this point we write out a new smaller meta-data file that includes
|
||||
// only the packages of interest). At this point we also emit a merged
|
||||
// only the packages of interest. At this point we also emit a merged
|
||||
// counter data file as well.
|
||||
//
|
||||
// Case 3: if "-pcombine" is in effect, we don't write anything at
|
||||
|
|
Loading…
Reference in a new issue