Differences From Artifact [82272ab977]:
- File src/runtime/arc.m — part of check-in [3ed710dc03] at 2018-05-06 18:42:35 on branch trunk — runtime: Add ARC methods to headers and Amiga lib (user: js, size: 5586) [annotate] [blame] [check-ins using]
To Artifact [de0851a9ba]:
- File
src/runtime/arc.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: 5595) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
266 267 268 269 270 271 272 | #ifdef OF_HAVE_THREADS if (!of_spinlock_unlock(&spinlock)) OBJC_ERROR("Failed to unlock spinlock!") #endif } | | | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | #ifdef OF_HAVE_THREADS if (!of_spinlock_unlock(&spinlock)) OBJC_ERROR("Failed to unlock spinlock!") #endif } void __saveds objc_zero_weak_references(id value OBJC_M68K_REG("a0")) { struct weak_ref *ref; #ifdef OF_HAVE_THREADS if (!of_spinlock_lock(&spinlock)) OBJC_ERROR("Failed to lock spinlock!") |
︙ | ︙ |