mirror of
https://github.com/golang/go.git
synced 2026-02-06 18:00:01 +00:00
cmd/compile: run go generate for internal/ir
Updates #70954
Change-Id: I00ddb37650d27a98da921f04570d33535865622c
GitHub-Last-Rev: 69d52f3d72
GitHub-Pull-Request: golang/go#76638
Reviewed-on: https://go-review.googlesource.com/c/go/+/725440
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
parent
dc913c316a
commit
16c0f7e152
1 changed files with 6 additions and 0 deletions
|
|
@ -1188,6 +1188,9 @@ func (n *MoveToHeapExpr) doChildren(do func(Node) bool) bool {
|
|||
if n.Slice != nil && do(n.Slice) {
|
||||
return true
|
||||
}
|
||||
if n.RType != nil && do(n.RType) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
func (n *MoveToHeapExpr) doChildrenWithHidden(do func(Node) bool) bool {
|
||||
|
|
@ -1198,6 +1201,9 @@ func (n *MoveToHeapExpr) editChildren(edit func(Node) Node) {
|
|||
if n.Slice != nil {
|
||||
n.Slice = edit(n.Slice).(Node)
|
||||
}
|
||||
if n.RType != nil {
|
||||
n.RType = edit(n.RType).(Node)
|
||||
}
|
||||
}
|
||||
func (n *MoveToHeapExpr) editChildrenWithHidden(edit func(Node) Node) {
|
||||
n.editChildren(edit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue