ObjFW  Diff

Differences From Artifact [dffd0702ad]:

To Artifact [81a51cd4d7]:


13
14
15
16
17
18
19

20

21
22
23

24
25
26
27
28
29
30
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

.globl _objc_msg_lookup

.globl _objc_msg_lookup_super


.section __TEXT, __text, regular, pure_instructions
_objc_msg_lookup:

	testq	%rdi, %rdi
	jz	ret_nil

	movq	(%rdi), %r8
	movq	64(%r8), %r8

lookup:







>

>



>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

.globl _objc_msg_lookup
.globl _objc_msg_lookup_stret
.globl _objc_msg_lookup_super
.globl _objc_msg_lookup_super_stret

.section __TEXT, __text, regular, pure_instructions
_objc_msg_lookup:
_objc_msg_lookup_stret: /* FIXME */
	testq	%rdi, %rdi
	jz	ret_nil

	movq	(%rdi), %r8
	movq	64(%r8), %r8

lookup:
45
46
47
48
49
50
51

52
53
54
55
56
57
58
59
60
61
62
63
	ret

ret_nil:
	leaq	nil_method(%rip), %rax
	ret

_objc_msg_lookup_super:

	movq	(%rdi), %rax
	testq	%rax, %rax
	jz	ret_nil

	movq	8(%rdi), %r8
	movq	64(%r8), %r8
	movq	%rdi, %rax
	jmp	lookup

nil_method:
	movq	%rdi, %rax
	ret







>












48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
	ret

ret_nil:
	leaq	nil_method(%rip), %rax
	ret

_objc_msg_lookup_super:
_objc_msg_lookup_super_stret: /* FIXME */
	movq	(%rdi), %rax
	testq	%rax, %rax
	jz	ret_nil

	movq	8(%rdi), %r8
	movq	64(%r8), %r8
	movq	%rdi, %rax
	jmp	lookup

nil_method:
	movq	%rdi, %rax
	ret