Remove unneeded saving of rdi in strcpy()
This commit is contained in:
@ -25,8 +25,6 @@ strcpy:
|
||||
push rbp
|
||||
mov rbp, rsp
|
||||
|
||||
push rdi
|
||||
sub rsp, 8
|
||||
xor rax, rax
|
||||
xor rcx, rcx
|
||||
.loop:
|
||||
@ -40,8 +38,6 @@ strcpy:
|
||||
jmp .loop
|
||||
|
||||
.0f:
|
||||
pop rax
|
||||
add rsp, 8
|
||||
cmp rcx, 0
|
||||
jne .quit
|
||||
xor rax, rax
|
||||
|
Reference in New Issue
Block a user