mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: allow inlining of ORANGE
Updates #14768 Change-Id: I33831f616eae5eeb099033e2b9cf90fa70d6ca86 Reviewed-on: https://go-review.googlesource.com/c/go/+/356869 Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dan Scales <danscales@google.com> Trust: Dan Scales <danscales@google.com> Trust: Alberto Donizetti <alb.donizetti@gmail.com>
This commit is contained in:
parent
2ff1074f5a
commit
a3bb28e5ff
5 changed files with 48 additions and 3 deletions
|
|
@ -358,8 +358,7 @@ func (v *hairyVisitor) doNode(n ir.Node) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
case ir.ORANGE,
|
||||
ir.OSELECT,
|
||||
case ir.OSELECT,
|
||||
ir.OGO,
|
||||
ir.ODEFER,
|
||||
ir.ODCLTYPE, // can't print yet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue