diff options
| author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2024-07-11 00:00:32 +0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-07-24 00:11:44 +0000 |
| commit | 88833c90457e02edf4641cf914512ab920380431 (patch) | |
| tree | 63ea7df5c389c93010bb9c466e283c43d5aa2e4a /src/encoding | |
| parent | 864aa8644879983d903e59995e6a31c95c50e8ff (diff) | |
| download | go-88833c90457e02edf4641cf914512ab920380431.tar.xz | |
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>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
