mirror of https://github.com/golang/go.git
runtime: align gomemeq return value correctly
Fixes #8378 LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/114880043
This commit is contained in:
parent
7a9e7c0afa
commit
5035750f23
|
|
@ -730,12 +730,12 @@ TEXT runtime·memeq(SB),NOSPLIT,$0-12
|
||||||
MOVL count+8(FP), BX
|
MOVL count+8(FP), BX
|
||||||
JMP runtime·memeqbody(SB)
|
JMP runtime·memeqbody(SB)
|
||||||
|
|
||||||
TEXT runtime·gomemeq(SB),NOSPLIT,$0-13
|
TEXT runtime·gomemeq(SB),NOSPLIT,$0-17
|
||||||
MOVL a+0(FP), SI
|
MOVL a+0(FP), SI
|
||||||
MOVL b+4(FP), DI
|
MOVL b+4(FP), DI
|
||||||
MOVL size+8(FP), BX
|
MOVL size+8(FP), BX
|
||||||
CALL runtime·memeqbody(SB)
|
CALL runtime·memeqbody(SB)
|
||||||
MOVB AX, ret+12(FP)
|
MOVB AX, ret+16(FP)
|
||||||
RET
|
RET
|
||||||
|
|
||||||
// eqstring tests whether two strings are equal.
|
// eqstring tests whether two strings are equal.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue