Differences From Artifact [8fd99fa5f3]:
- File
src/runtime/lookup-amd64-elf.S
— part of check-in
[5a6cc94418]
at
2013-03-16 10:13:47
on branch trunk
— Add forwardingTargetForSelector: for AMD64/ELF.
Currently, no methods returning structs are supported, see the comment
in OFObject. (user: js, size: 1447) [annotate] [blame] [check-ins using]
To Artifact [3eb642b445]:
- File src/runtime/lookup-amd64-elf.S — part of check-in [aeb47d24b5] at 2013-07-11 12:33:06 on branch trunk — Use section .ctors instead of .init_array. (user: js, size: 1420) [annotate] [blame] [check-ins using]
- File src/runtime/lookup-asm-amd64-elf.S — part of check-in [8417e06951] at 2013-07-11 12:48:48 on branch trunk — Improve file name consistency. (user: js, size: 1420) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | movq (%r8,%rcx,8), %r8 movq (%r8,%rdx,8), %rax testq %rax, %rax jz objc_not_found_handler@PLT 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 ret_nil: leaq nil_method(%rip), %rax ret nil_method: movq %rdi, %rax ret | > > > > < < < < < | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | movq (%r8,%rcx,8), %r8 movq (%r8,%rdx,8), %rax testq %rax, %rax jz objc_not_found_handler@PLT ret .type objc_msg_lookup, %function .size objc_msg_lookup, .-objc_msg_lookup 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 .type objc_msg_lookup_super, %function .size objc_msg_lookup_super, .-objc_msg_lookup_super ret_nil: leaq nil_method(%rip), %rax ret nil_method: movq %rdi, %rax ret #ifdef __linux__ .section .note.GNU-stack, "", %progbits #endif |