mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove references to *gc.Node in docs
ssa.Sym is only implemented by *ir.Name or *obj.LSym. Change-Id: Ia171db618abd8b438fcc2cf402f40f3fe3ec6833 Reviewed-on: https://go-review.googlesource.com/c/go/+/660995 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
af53bd2c03
commit
e9242ee812
4 changed files with 8 additions and 8 deletions
|
|
@ -1426,7 +1426,7 @@ func (s *regAllocState) regalloc(f *Func) {
|
|||
// value live at this point.
|
||||
v.SetArg(0, s.makeSpill(a, b))
|
||||
} else if _, ok := a.Aux.(*ir.Name); ok && vi.rematerializeable {
|
||||
// Rematerializeable value with a gc.Node. This is the address of
|
||||
// Rematerializeable value with a *ir.Name. This is the address of
|
||||
// a stack object (e.g. an LEAQ). Keep the object live.
|
||||
// Change it to VarLive, which is what plive expects for locals.
|
||||
v.Op = OpVarLive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue