]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] reflect: use internal/abi.FuncPCABI0 to take address of assembly...
authorCherry Mui <cherryyz@google.com>
Fri, 21 May 2021 22:28:25 +0000 (18:28 -0400)
committerCherry Mui <cherryyz@google.com>
Mon, 24 May 2021 21:05:34 +0000 (21:05 +0000)
commitf6427426787b292ec28cfd826615e3ae9a66b54a
tree3739c072ffe88a2c083dc04bffbde57a0bf1dbbb
parente0844acfc8baa57541a8efef723937c2733e0c99
[dev.typeparams] reflect: use internal/abi.FuncPCABI0 to take address of assembly functions

makeFuncStub and methodValueCall on AMD64 are marked as
ABIInternal, so Go code can get their (unwrapped) addresses
(using open-coded funcPC). Ues internal/abi.FuncPCABI0 instead,
and un-mark the functions.

Change-Id: Id28b6101ec7e55bc5a357d4236482cec70cd7e5d
Reviewed-on: https://go-review.googlesource.com/c/go/+/322350
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/reflect/asm_amd64.s
src/reflect/makefunc.go