From 7a20f366cde4717d0decc6228eb844af1f5ef2a0 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 14 Feb 2014 01:55:15 +0100 Subject: consider that list_init is a leaf function leaf functions do not have to contain a prologue nor an epilogue. --- list.asm | 3 --- 1 file changed, 3 deletions(-) (limited to 'list.asm') 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 ;; }}} -- cgit v1.2.3