compiler: copy receiver argument for go/defer of method call
authorIan Lance Taylor <iant@golang.org>
Wed, 17 Mar 2021 05:34:20 +0000 (22:34 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 17 Mar 2021 19:17:51 +0000 (12:17 -0700)
commitf3e9c98a9f40fc24bb4ecef6aaa94ff799c8d587
treea3451277603bc8fbe2eddce5f4ad63f790129a01
parentc86c5195c8c02f5891a222f498c074b373aa946c
compiler: copy receiver argument for go/defer of method call

Test case is https://golang.org/cl/302371.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/302270
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/statements.cc