]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.typeparams] reflect: call ABI0 spill/unspill functions on AMD64
authorCherry Mui <cherryyz@google.com>
Thu, 27 May 2021 22:41:12 +0000 (18:41 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 1 Jun 2021 22:33:29 +0000 (22:33 +0000)
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>
src/reflect/asm_amd64.s

index 7491c772acd9f99504724a9d897dc756d144b704..d21d498063b55e382a1e473fcb5e6a501be88d36 100644 (file)
@@ -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