aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/deadcode/deadcode.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2021-09-16 13:55:45 -0400
committerCherry Mui <cherryyz@google.com>2021-09-17 23:21:29 +0000
commitf01721efb941edadc2e6a897e42919b0d68480e1 (patch)
tree9415c4b5d041916eb53118e013b1193147a2b651 /src/cmd/compile/internal/deadcode/deadcode.go
parent163871feb177ca0d7c690052b4cdd17bd57fcc04 (diff)
downloadgo-f01721efb941edadc2e6a897e42919b0d68480e1.tar.xz
cmd/compile: remove self copies in tail-call wrappers
The previous CL re-enables tail calls for method wrappers. But with the changed IR and SSA representation, for stack arguments it generates self copies. This CL makes the compiler detect the self copies and remove them. Change-Id: I7252572a1a47834f28b6706e45906e2356408e02 Reviewed-on: https://go-review.googlesource.com/c/go/+/350349 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>
Diffstat (limited to 'src/cmd/compile/internal/deadcode/deadcode.go')
0 files changed, 0 insertions, 0 deletions