]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: spill all the parameters around morestack
authorDavid Chase <drchase@google.com>
Fri, 16 Apr 2021 04:15:31 +0000 (00:15 -0400)
committerDavid Chase <drchase@google.com>
Fri, 16 Apr 2021 20:12:20 +0000 (20:12 +0000)
commitb6e1c336037e53ae095e84cfed4a312d8fd3ad45
treefb6a9784ec9249331e75f642bfd7d56e7ec9b266
parentfff236e659fa819e036ab849130931dd6245c7b2
cmd/compile: spill all the parameters around morestack

former code only spilled those parameters mentioned in code
AT THE REGISTER LEVEL, this caused problems with liveness
sometimes (which worked on whole variables including
aggregates).

Updates #40724.

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