From 41cf18eda79be6fa8142ab2e99dc756d4b08369b Mon Sep 17 00:00:00 2001 From: Michael Anthony Knyszek Date: Fri, 2 Apr 2021 19:06:33 +0000 Subject: [PATCH] reflect: fix methodValueCall frame size on mips64 Fixes a mistake from golang.org/cl/298670. Change-Id: I2f789f9fe003c856a993f7d462a2e84936743a1a Reviewed-on: https://go-review.googlesource.com/c/go/+/306930 Reviewed-by: Cherry Zhang Run-TryBot: Michael Knyszek Trust: Michael Knyszek TryBot-Result: Go Bot --- src/reflect/asm_mips64x.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflect/asm_mips64x.s b/src/reflect/asm_mips64x.s index 0a660a5a60..ae661262cb 100644 --- a/src/reflect/asm_mips64x.s +++ b/src/reflect/asm_mips64x.s @@ -29,7 +29,7 @@ TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$40 // See the comment on the declaration of methodValueCall in makefunc.go // for more details. // No arg size here; runtime pulls arg map out of the func value. -TEXT ·methodValueCall(SB),(NOSPLIT|WRAPPER),$32 +TEXT ·methodValueCall(SB),(NOSPLIT|WRAPPER),$40 NO_LOCAL_POINTERS MOVV REGCTXT, 8(R29) MOVV $argframe+0(FP), R1 -- 2.50.0