ObjFW  Check-in [895b9e3cb6]

Overview
Comment:Fix forwarding on AMD64.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | runtime
Files: files | file ages | folders
SHA3-256: 895b9e3cb61c015b02a4b5e6d2f8a66da63641088e411d2287388d9db97db38a
User & Date: js on 2012-04-18 19:03:54
Other Links: branch diff | manifest | tags
Context
2012-04-18
19:06
category.m: Fix cls->info check. check-in: ff680022ad user: js tags: runtime
19:03
Fix forwarding on AMD64. check-in: 895b9e3cb6 user: js tags: runtime
18:41
Correctly call load. check-in: d13674c4c9 user: js tags: runtime
Changes

Modified src/runtime/lookup-amd64-elf.S from [dde3e76344] to [57e05c2a54].

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	testq	%rax, %rax
	jz	forward

	ret

forward:
	mov	objc_forward_handler@GOTPCREL(%rip), %rax
	jmp	*%rax

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

	movq	8(%rdi), %r8







|







40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	testq	%rax, %rax
	jz	forward

	ret

forward:
	mov	objc_forward_handler@GOTPCREL(%rip), %rax
	jmp	*(%rax)

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

	movq	8(%rdi), %r8