Differences From Artifact [728d9ac121]:
- File
src/runtime/lookup-ppc-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: 1566) [annotate] [blame] [check-ins using]
To Artifact [3310b0b260]:
- File src/runtime/lookup-asm-ppc-elf.S — part of check-in [8417e06951] at 2013-07-11 12:48:48 on branch trunk — Improve file name consistency. (user: js, size: 1553) [annotate] [blame] [check-ins using]
- File src/runtime/lookup-ppc-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: 1553) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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 72 73 74 75 76 77 78 79 80 81 82 83 | lwzx %r5, %r5, %r8 cmpwi %r5, 0 beq- forward mr %r3, %r5 blr forward: b objc_not_found_handler@plt objc_msg_lookup_super: lwz %r5, 0(%r3) cmpwi %r5, 0 beq- ret_nil lwz %r5, 4(%r3) lwz %r5, 32(%r5) b lookup ret_nil: mflr %r0 bl get_pc mtlr %r0 .L1: addi %r3, %r3, nil_method-.L1 blr nil_method: li %r3, 0 blr get_pc: mflr %r3 blr | > > > > < < < < < | 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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | lwzx %r5, %r5, %r8 cmpwi %r5, 0 beq- forward mr %r3, %r5 blr .type objc_msg_lookup, %function .size objc_msg_lookup, .-objc_msg_lookup forward: b objc_not_found_handler@plt objc_msg_lookup_super: lwz %r5, 0(%r3) cmpwi %r5, 0 beq- ret_nil lwz %r5, 4(%r3) lwz %r5, 32(%r5) b lookup .type objc_msg_lookup_super, %function .size objc_msg_lookup_super, .-objc_msg_lookup_super ret_nil: mflr %r0 bl get_pc mtlr %r0 .L1: addi %r3, %r3, nil_method-.L1 blr nil_method: li %r3, 0 blr get_pc: mflr %r3 blr #ifdef __linux__ .section .note.GNU-stack, "", %progbits #endif |