aboutsummaryrefslogtreecommitdiff
path: root/src/reflect
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2021-05-27 18:41:12 -0400
committerCherry Mui <cherryyz@google.com>2021-06-01 22:33:29 +0000
commit6633dc8b0982173064c587f0b5e98f0b16f2132a (patch)
treed80bc99644cd3ea0cd5c7ea5c2c72d53c3c959b5 /src/reflect
parente4003463fff6a90d331c0a2da92774941693a4f7 (diff)
downloadgo-6633dc8b0982173064c587f0b5e98f0b16f2132a.tar.gz
go-6633dc8b0982173064c587f0b5e98f0b16f2132a.zip
[dev.typeparams] reflect: call ABI0 spill/unspill functions on AMD64
CL 321950 changed runtime.spillArgs and unspillArgs to ABI0. References to those functions should have been updated to ABI0, but this one was missed. Change-Id: I99238e4a96c945a47bec0981a415037578c73de4 Reviewed-on: https://go-review.googlesource.com/c/go/+/323931 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> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/asm_amd64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflect/asm_amd64.s b/src/reflect/asm_amd64.s
index 7491c772ac..d21d498063 100644
--- a/src/reflect/asm_amd64.s
+++ b/src/reflect/asm_amd64.s
@@ -59,7 +59,7 @@ TEXT ·methodValueCall(SB),(NOSPLIT|WRAPPER),$312
// NO_LOCAL_POINTERS is a lie. The stack map for the two locals in this
// frame is specially handled in the runtime. See the comment above LOCAL_RETVALID.
LEAQ LOCAL_REGARGS(SP), R12
- CALL runtime·spillArgs<ABIInternal>(SB)
+ CALL runtime·spillArgs(SB)
MOVQ DX, 24(SP) // outside of moveMakeFuncArgPtrs's arg area
MOVQ DX, 0(SP)
MOVQ R12, 8(SP)
@@ -75,5 +75,5 @@ TEXT ·methodValueCall(SB),(NOSPLIT|WRAPPER),$312
MOVQ AX, 24(SP)
CALL ·callMethod(SB)
LEAQ LOCAL_REGARGS(SP), R12
- CALL runtime·unspillArgs<ABIInternal>(SB)
+ CALL runtime·unspillArgs(SB)
RET