]>
Cypherpunks repositories - gostls13.git/commit
cmd/compile: restore not-in-heap check for map/channel type
CL 388538 removed unused -G=0 node types.
However, the code for checking not-in-heap types for map and channel
type was also removed, which is likely not intentional.
This CL restores the check, porting removed code to noder.
Updates #54846
Change-Id: I2995836b90e36d2684197fefc9829fddfffe8585
Reviewed-on: https://go-review.googlesource.com/c/go/+/597535
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>