diff options
| author | David Chase <drchase@google.com> | 2020-10-02 14:53:48 -0400 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2020-10-06 15:37:42 +0000 |
| commit | f8d80977b784fd4879963e61dc9fca1fc9bf2193 (patch) | |
| tree | 27a7b8f1fef2f0cd1c61cc20ab83a14eb0811003 /src/runtime/stack.go | |
| parent | d2a80f3fb5b44450e0b304ac5a718f99c053d82a (diff) | |
| download | go-f8d80977b784fd4879963e61dc9fca1fc9bf2193.tar.xz | |
cmd/compile: correct leaf type when "selecting" singleton register-sized struct
Two part fix:
1) bring the type "correction" forward from a later CL in the expand calls series
2) when a leaf-selwect is rewritten in place, update the type (it might have been
changed by the type correction in 1).
Fixes #41736.
Change-Id: Id097efd10481bf0ad92aaead81a7207221c144b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/259203
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
