Skip to content

Commit

Permalink
reflect: fix methodValueCall frame size on mips64
Browse files Browse the repository at this point in the history
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 <[email protected]>
Run-TryBot: Michael Knyszek <[email protected]>
Trust: Michael Knyszek <[email protected]>
TryBot-Result: Go Bot <[email protected]>
  • Loading branch information
mknyszek committed Apr 2, 2021
1 parent 34b87b4 commit 41cf18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflect/asm_mips64x.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41cf18e

Please sign in to comment.