cmd/compile: fix outgoing calls with GOEXPERIMENT=regabiargs
The logic for constructing calls in (*state).call is based around targeted experiments with register-based calls. However, when the register ABI is turned on everywhere, it currently doesn't account for direct calls to non-ABIInternal functions. This CL adds a much simpler path to (*state).call when regabiargs is turned on that looks at the ABI of the target function. For #40724. Change-Id: I7f4f5fed8a5ec131bcf1ce5b9d94d45672a304cb Reviewed-on: https://go-review.googlesource.com/c/go/+/306410 Trust: Austin Clements <austin@google.com> Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by:Than McIntosh <thanm@google.com> Reviewed-by:
Cherry Zhang <cherryyz@google.com>
Loading
Please sign in to comment