]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] runtime: use ABIInternal callbackWrap in callbackasm1 on ARM64
authorCherry Mui <cherryyz@google.com>
Wed, 2 Jun 2021 23:52:39 +0000 (19:52 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 3 Jun 2021 16:28:44 +0000 (16:28 +0000)
commit28bd325e418a0ca1c70a024764aa74e25aacab12
treef25e79379711dbc47ca51f68ee1898c2078dcc6f
parent3de49868526d5bfae2f9bda8be1a60c022cf3363
[dev.typeparams] runtime: use ABIInternal callbackWrap in callbackasm1 on ARM64

On Windows/ARM64, callbackasm1 calls callbackWrap via cgocallback.
cgocallback uses ABIInternal calling convention to call the
function. Pass the ABIInternal entry point to cgocallback.

Change-Id: I79d21b77525f6ac8dd50d34f4f304749419b2ad4
Reviewed-on: https://go-review.googlesource.com/c/go/+/324735
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/runtime/sys_windows_arm64.s