]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: SSA ".this" variable
authorCherry Mui <cherryyz@google.com>
Fri, 17 Sep 2021 20:26:13 +0000 (16:26 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 17 Sep 2021 23:44:10 +0000 (23:44 +0000)
commit4b654c0eeca65ffc6588ffd9c99387a7e48002c1
treeab10a44eac6a39631dcea5c20f9eacd721b7d1dd
parentf01721efb941edadc2e6a897e42919b0d68480e1
cmd/compile: SSA ".this" variable

We used to not SSA ".this" variable, because in tail-call method
wrappers it relies on updating ".this" in place in memory, and
the tail call IR node and SSA op do not have an explicit use of
".this". It is no longer the case for the new tail call
representation. Remove the restriction.

Change-Id: I4e1ce8459adbb0d5a80c64f1ece982737bd95305
Reviewed-on: https://go-review.googlesource.com/c/go/+/350751
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssagen/ssa.go