mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: make reflectcall ABI0 on amd64
reflectcall expects the ABI0 calling convention, but it's marked as ABIInternal. When it gets called this way, naturally it doesn't work very well. For #40724. Change-Id: Ic76237420cd8c72f5df1c1ac7972ad6f989f8402 Reviewed-on: https://go-review.googlesource.com/c/go/+/306931 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>
This commit is contained in:
parent
298975c634
commit
d8306ee1f9
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ TEXT ·unspillArgs<ABIInternal>(SB),NOSPLIT,$0-0
|
||||||
JMP AX
|
JMP AX
|
||||||
// Note: can't just "JMP NAME(SB)" - bad inlining results.
|
// Note: can't just "JMP NAME(SB)" - bad inlining results.
|
||||||
|
|
||||||
TEXT ·reflectcall<ABIInternal>(SB), NOSPLIT, $0-48
|
TEXT ·reflectcall(SB), NOSPLIT, $0-48
|
||||||
MOVLQZX frameSize+32(FP), CX
|
MOVLQZX frameSize+32(FP), CX
|
||||||
DISPATCH(runtime·call16, 16)
|
DISPATCH(runtime·call16, 16)
|
||||||
DISPATCH(runtime·call32, 32)
|
DISPATCH(runtime·call32, 32)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue