change labels from global to local in functions, align function calls in stack
This commit is contained in:
@ -5,15 +5,14 @@ section .text
|
||||
ft_list_size:
|
||||
xor rax, rax
|
||||
|
||||
count_start:
|
||||
.count_start:
|
||||
test rdi, rdi
|
||||
jz end
|
||||
jz .end
|
||||
|
||||
mov rdi, [rdi + 8]
|
||||
inc rax
|
||||
|
||||
lea rax, [rax + 1]
|
||||
jmp .count_start
|
||||
|
||||
jmp count_start
|
||||
|
||||
end:
|
||||
.end:
|
||||
ret
|
||||
|
Reference in New Issue
Block a user