]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove nodeNeedsWrapper flag
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Sat, 12 Sep 2020 00:19:22 +0000 (07:19 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Sun, 13 Sep 2020 04:35:35 +0000 (04:35 +0000)
commit5f1b12bfbeb04ca6dbecbf064f5e5a42d8ba4b5a
treecdc5ae5cd7c2c35d1cbe6ec72972d5bbf5534cc3
parent1f4521669416a2e14fb0b84481447f4a93f19878
cmd/compile: remove nodeNeedsWrapper flag

CL 254397 attached OVARLIVE nodes to OCALLxxx nodes Nbody.

The NeedsWrapper flag is now redundant with n.Nbody.Len() > 0
condition, so use that condition instead and remove the flag.

Passes toolstash-check.

Change-Id: Iebc3e674d3c0040a876ca4be05025943d2b4fb31
Reviewed-on: https://go-review.googlesource.com/c/go/+/254398
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/order.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/compile/internal/gc/walk.go