Remove unneeded saving of rdi in strcat()

This commit is contained in:
2025-06-23 15:27:02 +02:00
parent 4aee0916db
commit 26c150cec0

View File

@ -55,13 +55,9 @@ strcat:
push rbp push rbp
mov rbp, rsp mov rbp, rsp
push rdi
sub rsp, 8
call strlen call strlen
add rdi, rax add rdi, rax
call strcpy call strcpy
add rsp, 8
pop rdi
leave leave
ret ret