Differences From Artifact [61e54bb565]:
- File src/runtime/lookup.m — part of check-in [2d8aa8b1e6] at 2018-04-29 19:26:23 on branch trunk — runtime: Specify m68k registers for most functions (user: js, size: 4769) [annotate] [blame] [check-ins using] [more...]
To Artifact [2d11be3866]:
- File
src/runtime/lookup.m
— part of check-in
[482698c5be]
at
2018-05-06 21:39:06
on branch trunk
— runtime: Make Amiga library work with -fbaserel
This currently uses __saveds on all exported functions for simplicity.
As an optimization, __saveds can be removed from some functions later
after careful verification that no code path starting from that function
accesses any data. (user: js, size: 4787) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
112 113 114 115 116 117 118 | IMP objc_method_not_found_stret(id obj, SEL sel) { return common_method_not_found(obj, sel, objc_msg_lookup_stret, forward_handler_stret); } | | | | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | IMP objc_method_not_found_stret(id obj, SEL sel) { return common_method_not_found(obj, sel, objc_msg_lookup_stret, forward_handler_stret); } void __saveds objc_setForwardHandler(IMP forward OBJC_M68K_REG("a0"), IMP forward_stret OBJC_M68K_REG("a1")) { forward_handler = forward; forward_handler_stret = forward_stret; } bool __saveds class_respondsToSelector(Class cls OBJC_M68K_REG("a0"), SEL sel OBJC_M68K_REG("a1")) { if (cls == Nil) return false; return (objc_dtable_get(cls->dtable, (uint32_t)sel->uid) != (IMP)0); |
︙ | ︙ |