1
0
mirror of https://github.com/golang/go synced 2024-11-25 00:07:56 -07:00

runtime: replace XOR AX, AX with MOV $0, AX

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5985048
This commit is contained in:
Dmitriy Vyukov 2012-04-05 18:59:50 +04:00
parent 4667571619
commit fd04f05f2f

View File

@ -323,7 +323,7 @@ TEXT runtime·cas64(SB), 7, $0
cas64_fail:
MOVL AX, 0(SI)
MOVL DX, 4(SI)
XORL AX, AX
MOVL $0, AX
RET
// bool casp(void **p, void *old, void *new)