]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/internal/obj/arm64: use ABI-compatible registers in function...
authorCherry Mui <cherryyz@google.com>
Tue, 25 May 2021 22:08:36 +0000 (18:08 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 26 May 2021 23:34:28 +0000 (23:34 +0000)
commita4b2a04bc50d568579f437f324d56471bf31ec6c
tree2bcf0d7ff6fd7a970efcd858a291cde94b9ed4fa
parent4bb927f82e7d4661d287ec5e975ba6cbdee2ae90
[dev.typeparams] cmd/internal/obj/arm64: use ABI-compatible registers in function prologue

Avoid using R1, R2, etc. in function prologue, which may carry
live argument values.

Change-Id: I80322b3f7e8fda7aaff622aaa99bc76d02e09727
Reviewed-on: https://go-review.googlesource.com/c/go/+/322852
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/internal/obj/arm64/obj7.go