]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: support register ABI for finalizers
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 22 Oct 2020 16:55:55 +0000 (16:55 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 11 Mar 2021 17:26:22 +0000 (17:26 +0000)
commitf009b5b2268a7fcdfe046057cbf2a75306dbfc5e
tree0c5da8482cab010c564e36528dab31c7364e095a
parent415ca3f1f0fa05a98561752e0787f59b77f19645
runtime: support register ABI for finalizers

This change modifies runfinq to properly pass arguments to finalizers in
registers via reflectcall.

For #40724.

Change-Id: I414c0eff466ef315a0eb10507994e598dd29ccb2
Reviewed-on: https://go-review.googlesource.com/c/go/+/300112
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/abi_test.go [new file with mode: 0644]
src/runtime/export_test.go
src/runtime/mfinal.go
src/runtime/stubs.go