diff options
| author | Keith Randall <khr@golang.org> | 2014-07-16 17:16:12 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-07-16 17:16:12 -0700 |
| commit | 5035750f233545a6ee47c2d849f9973cbbf55f59 (patch) | |
| tree | fbfc35bcd857965aa2be78e96f71a0e7aa6acdb5 /src | |
| parent | 7a9e7c0afa79caf4a2dc8a70b14745d6c8f912bb (diff) | |
| download | go-5035750f233545a6ee47c2d849f9973cbbf55f59.tar.xz | |
runtime: align gomemeq return value correctly
Fixes #8378
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/114880043
Diffstat (limited to 'src')
| -rw-r--r-- | src/pkg/runtime/asm_amd64p32.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/asm_amd64p32.s b/src/pkg/runtime/asm_amd64p32.s index 71207f0698..7facd10b38 100644 --- a/src/pkg/runtime/asm_amd64p32.s +++ b/src/pkg/runtime/asm_amd64p32.s @@ -730,12 +730,12 @@ TEXT runtime·memeq(SB),NOSPLIT,$0-12 MOVL count+8(FP), BX JMP runtime·memeqbody(SB) -TEXT runtime·gomemeq(SB),NOSPLIT,$0-13 +TEXT runtime·gomemeq(SB),NOSPLIT,$0-17 MOVL a+0(FP), SI MOVL b+4(FP), DI MOVL size+8(FP), BX CALL runtime·memeqbody(SB) - MOVB AX, ret+12(FP) + MOVB AX, ret+16(FP) RET // eqstring tests whether two strings are equal. |
