summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2014-02-14 01:55:15 +0100
committerOlivier Gayot <duskcoder@gmail.com>2014-02-14 03:24:56 +0100
commit7a20f366cde4717d0decc6228eb844af1f5ef2a0 (patch)
tree195c2d21d9807cba8d4a00b95133991557e48027
parent08bda4d37253d9c187372100a7017447735e0096 (diff)
consider that list_init is a leaf function
leaf functions do not have to contain a prologue nor an epilogue.
-rw-r--r--list.asm3
1 files changed, 0 insertions, 3 deletions
diff --git a/list.asm b/list.asm
index c104af7..a463c8e 100644
--- a/list.asm
+++ b/list.asm
@@ -56,12 +56,9 @@ section .text
list_init: ;; {{{
- enter 0, 0
mov QWORD [rdi + list_t.first], 0 ; first = NULL
mov DWORD [rdi + list_t.size], 0 ; size = 0
-
- leave
ret
;; }}}