diff options
| author | Cherry Zhang <cherryyz@google.com> | 2021-04-01 14:21:12 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2021-04-02 00:45:56 +0000 |
| commit | 5579ee169f12815660eb9ee66afd5f2abc77864f (patch) | |
| tree | 8d3b674d623839c26c85ffe5c6ab2b35de1f07c5 /src/runtime/stack.go | |
| parent | 27d306281c54a89ff00e3dad6f4cea790a2f2f2d (diff) | |
| download | go-5579ee169f12815660eb9ee66afd5f2abc77864f.tar.xz | |
cmd/compile: in expand calls, preserve pointer store type but decompose aggregate args
In CL 305672 we preserve the pointer type of a store by just not
decomposing it. But this can be problematic when the source of
the store is a direct interface aggregate type (e.g.
struct { x map[int]int }.
In this CL we take a different approach: we preserve the store
type when generating the new store, but also decompose the source.
Fixes #45344.
Change-Id: If5dd496458dee95aa649c6d106b96a6cdcf3e60d
Reviewed-on: https://go-review.googlesource.com/c/go/+/306669
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
