]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: register abi, morestack work and mole whacking
authorDavid Chase <drchase@google.com>
Fri, 19 Feb 2021 22:11:40 +0000 (17:11 -0500)
committerDavid Chase <drchase@google.com>
Thu, 4 Mar 2021 16:19:12 +0000 (16:19 +0000)
commita2d92b5143ad6ed1b55b71032c5c1f468ba76fd4
tree303c0fae9984d9e23366e183825d0dd5421dc7ae
parent868a110c568591d9085996ba05c94593809a437a
cmd/compile: register abi, morestack work and mole whacking

Morestack works for non-pointer register parameters

Within a function body, pointer-typed parameters are correctly
tracked.

Results still not hooked up.

For #40724.

Change-Id: Icaee0b51d0da54af983662d945d939b756088746
Reviewed-on: https://go-review.googlesource.com/c/go/+/294410
Trust: David Chase <drchase@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/abi/abiutils.go
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/ssa/debug.go
src/cmd/compile/internal/ssa/stackalloc.go
src/cmd/compile/internal/ssagen/ssa.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/x86/obj6.go
test/abi/f_ret_z_not.go
test/abi/many_int_input.go [new file with mode: 0644]
test/abi/many_int_input.out [new file with mode: 0644]
test/abi/regabipragma.go