Overview
Comment: | runtime: Work around compiler bug in Amiga library
This adds the same workaround for objc_enumerationMutation() as for |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
dff419362e42fd23c76845d6c6c0c376 |
User & Date: | js on 2018-05-05 17:46:52 |
Other Links: | manifest | tags |
Context
2018-05-05
| ||
18:06 | runtime: Let objc_get*Class return Class check-in: b3f32186dd user: js tags: trunk | |
17:46 | runtime: Work around compiler bug in Amiga library check-in: dff419362e user: js tags: trunk | |
17:05 | configure: Fix -O2 being dropped from OBJCFLAGS check-in: ae2aa3ef79 user: js tags: trunk | |
Changes
Modified src/runtime/ObjFW_RT.h from [209bda944a] to [4c021bd0e6].
︙ | |||
270 271 272 273 274 275 276 | 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | - - + + - + | extern bool class_addMethod(Class _Nonnull cls OBJC_M68K_REG("a0"), SEL _Nonnull sel OBJC_M68K_REG("a1"), IMP _Nonnull imp OBJC_M68K_REG("a2"), const char *_Nullable types OBJC_M68K_REG("a3")); extern IMP _Nullable class_replaceMethod(Class _Nonnull cls OBJC_M68K_REG("a0"), SEL _Nonnull sel OBJC_M68K_REG("a1"), IMP _Nonnull imp OBJC_M68K_REG("a2"), const char *_Nullable types OBJC_M68K_REG("a3")); |
︙ | |||
300 301 302 303 304 305 306 | 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 | - - + + + - + | /* * Used by the compiler, but can also be called manually. * * These declarations are also required to prevent Clang's implicit * declarations which include __declspec(dllimport) on Windows. */ extern void __objc_exec_class(void *_Nonnull module); |
Modified src/runtime/linklib/linklib.m from [ca3819c013] to [c7c08d7d39].
︙ | |||
212 213 214 215 216 217 218 | 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | - + + + + + + - + + + + + + + | objc_setPropertyStruct(void *dest, const void *src, ptrdiff_t size, bool atomic, bool strong) { glue_objc_setPropertyStruct(dest, src, size, atomic, strong); } void |
Modified src/runtime/private.h from [d94124ff8f] to [457aeb2c70].
︙ | |||
185 186 187 188 189 190 191 | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | - - | const char *_Nonnull name OBJC_M68K_REG("a0")); extern id _Nonnull glue_objc_getRequiredClass( const char *_Nonnull name OBJC_M68K_REG("a0")); extern Class _Nullable glue_objc_lookup_class( const char *_Nonnull name OBJC_M68K_REG("a0")); extern Class _Nonnull glue_objc_get_class( const char *_Nonnull name OBJC_M68K_REG("a0")); |
︙ |