]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: add code to support register ABI spills around morestack...
authorDavid Chase <drchase@google.com>
Mon, 28 Sep 2020 21:42:30 +0000 (17:42 -0400)
committerDavid Chase <drchase@google.com>
Wed, 13 Jan 2021 15:47:13 +0000 (15:47 +0000)
commitc1370e918fd88a13f77a133f8e431197cd3a1fc6
tree5e78829f91df64d5ed0d509e646bf42afdb5dc9b
parent2abd24f3b78f8f605840e5a0dd3b4f76734f6c13
[dev.regabi] cmd/compile: add code to support register ABI spills around morestack calls

This is a selected copy from the register ABI experiment CL, focused
on the files and data structures that handle spilling around morestack.
Unnecessary code from the experiment was removed, other code was adapted.

Would it make sense to leave comments in the experiment as pieces are
brought over?

Experiment CL (for comparison purposes)
https://go-review.googlesource.com/c/go/+/28832

Change-Id: I92136f070351d4fcca1407b52ecf9b80898fed95
Reviewed-on: https://go-review.googlesource.com/c/go/+/279520
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/compile/internal/ssa/func.go
src/cmd/compile/internal/ssa/location.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/x86/obj6.go