]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: revert CL/316890
authorThan McIntosh <thanm@google.com>
Fri, 21 May 2021 14:53:10 +0000 (10:53 -0400)
committerThan McIntosh <thanm@google.com>
Sat, 22 May 2021 00:51:17 +0000 (00:51 +0000)
commitcca23a73733ff166722c69359f0bb45e12ccaa2b
tree58538e226710c181249112dbbed060f3c7f91ac2
parentf87194cbd7e79eef07c897a6240fbf2dc115f9ff
cmd/compile: revert CL/316890

This is a revert of https://go-review.googlesource.com/c/go/+/316890,
which has positive effects on debugging + DWARF variable locations
for register parameters when the reg abi is in effect, but also
turns out to interact badly with the register allocator.

Fixes #46304.

Change-Id: I624bd980493411a9cde45d44fcd3c46cad796909
Reviewed-on: https://go-review.googlesource.com/c/go/+/321830
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/ssa/expand_calls.go
test/fixedbugs/issue46304.go [new file with mode: 0644]