]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: store call args in the call block
authorCherry Zhang <cherryyz@google.com>
Wed, 7 Oct 2020 15:32:43 +0000 (11:32 -0400)
committerDavid Chase <drchase@google.com>
Wed, 7 Oct 2020 15:57:48 +0000 (15:57 +0000)
commitccf89bef43f3580526019e0804e91352e62047d5
treec92f862099c7bbc1bc758210277f56e0b5865d42
parent0941dc446e6b3028c77158728432086b5c06acf6
cmd/compile: store call args in the call block

We already do this for OpStore, but we didn't do this for OpMove.
Do the same, to ensure that no two memories are live at the same
time.

Fixes #41846.

Change-Id: Iad77ff031b3c4459d1217e0b04aeb0e692eb474d
Reviewed-on: https://go-review.googlesource.com/c/go/+/260237
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>
src/cmd/compile/internal/ssa/expand_calls.go