]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: disable tail call for method wrappers when RegabiArgs is enabled
authorCherry Zhang <cherryyz@google.com>
Sun, 4 Apr 2021 16:20:35 +0000 (12:20 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 5 Apr 2021 17:25:15 +0000 (17:25 +0000)
commit45e87cd3ecfe5e579a06493ef8cd43ce9947262c
tree9af8496208e556d5d76c4c4e7e94068961bde1fa
parent411860251eb91b284efb901264a9c46d26b588e3
cmd/compile: disable tail call for method wrappers when RegabiArgs is enabled

Currently, the IR of tailcall does not connect the arguments with
the OTAILCALL node, so the arguments are not marshaled correctly.
Disable tail call for now.

Updates #40724.

Change-Id: I39de3ea8e19a23eb63768ab7282d2f870e9c266e
Reviewed-on: https://go-review.googlesource.com/c/go/+/307234
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/compile/internal/reflectdata/reflect.go