Overview
Comment: | Fix compilation for iOS/ARM64 with newer Xcode |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
090f42fc70c91f1525ab45fc926f3380 |
User & Date: | js on 2019-11-24 16:42:10 |
Other Links: | manifest | tags |
Context
2019-11-24
| ||
16:56 | .travis.yml: Add more Xcode versions for iOS check-in: 5aed1e1fd1 user: js tags: trunk | |
16:42 | Fix compilation for iOS/ARM64 with newer Xcode check-in: 090f42fc70 user: js tags: trunk | |
16:00 | Fix clang removing fstmfdd and fldmfdd check-in: e2beb92297 user: js tags: trunk | |
Changes
Modified tests/OFInvocationTests.m from [a0a51d6d45] to [a4ee125d47].
︙ | ︙ | |||
38 39 40 41 42 43 44 45 46 47 48 49 50 51 | : (unsigned int)i : (struct test_struct *)ptr : (struct test_struct)st { return st; } - (void)invocationTestMethod2: (id)obj { assert(obj == self); } - (int)invocationTestMethod3: (int)i1 : (int)i2 | > | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | : (unsigned int)i : (struct test_struct *)ptr : (struct test_struct)st { return st; } #ifdef OF_INVOCATION_CAN_INVOKE - (void)invocationTestMethod2: (id)obj { assert(obj == self); } - (int)invocationTestMethod3: (int)i1 : (int)i2 |
︙ | ︙ | |||
127 128 129 130 131 132 133 | : (long double)d15 : (long double)d16 { return (d1 + d2 + d3 + d4 + d5 + d6 + d7 + d8 + d9 + d10 + d11 + d12 + d13 + d14 + d15 + d16) / 16; } | | | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | : (long double)d15 : (long double)d16 { return (d1 + d2 + d3 + d4 + d5 + d6 + d7 + d8 + d9 + d10 + d11 + d12 + d13 + d14 + d15 + d16) / 16; } # if defined(HAVE_COMPLEX_H) && !defined(__STDC_NO_COMPLEX__) - (complex double)invocationTestMethod7: (complex float)c1 : (complex double)c2 : (complex float)c3 : (complex double)c4 : (complex float)c5 : (complex double)c6 : (complex float)c7 |
︙ | ︙ | |||
203 204 205 206 207 208 209 | OF_ENSURE(creal(c14) == 14.0 && cimag(c14) == 7.0); OF_ENSURE(creal(c15) == 15.0 && cimag(c15) == 7.5); OF_ENSURE(creal(c16) == 16.0 && cimag(c16) == 8.0); return (c1 + c2 + c3 + c4 + c5 + c6 + c7 + c8 + c9 + c10 + c11 + c12 + c13 + c14 + c15 + c16) / 16; } | | | | 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | OF_ENSURE(creal(c14) == 14.0 && cimag(c14) == 7.0); OF_ENSURE(creal(c15) == 15.0 && cimag(c15) == 7.5); OF_ENSURE(creal(c16) == 16.0 && cimag(c16) == 8.0); return (c1 + c2 + c3 + c4 + c5 + c6 + c7 + c8 + c9 + c10 + c11 + c12 + c13 + c14 + c15 + c16) / 16; } # endif # ifdef __SIZEOF_INT128__ __extension__ - (__int128)invocationTestMethod9: (int)i1 : (__int128)i2 : (__int128)i3 : (__int128)i4 : (int)i5 : (__int128)i6 |
︙ | ︙ | |||
247 248 249 250 251 252 253 254 255 256 257 258 259 260 | OF_ENSURE(i15 == mask + 15); OF_ENSURE(i16 == mask + 16); return ((i1 + (int)i2 + (int)i3 + (int)i4 + i5 + (int)i6 + (int)i7 + (int)i8 + (int)i9 + (int)i10 + (int)i11 + (int)i12 + (int)i13 + (int)i14 + (int)i15 + (int)i16) / 16) + mask; } #endif - (void)invocationTests { void *pool = objc_autoreleasePoolPush(); SEL selector = @selector(invocationTestMethod1::::); OFMethodSignature *sig = [self methodSignatureForSelector: selector]; | > | 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 | OF_ENSURE(i15 == mask + 15); OF_ENSURE(i16 == mask + 16); return ((i1 + (int)i2 + (int)i3 + (int)i4 + i5 + (int)i6 + (int)i7 + (int)i8 + (int)i9 + (int)i10 + (int)i11 + (int)i12 + (int)i13 + (int)i14 + (int)i15 + (int)i16) / 16) + mask; } # endif #endif - (void)invocationTests { void *pool = objc_autoreleasePoolPush(); SEL selector = @selector(invocationTestMethod1::::); OFMethodSignature *sig = [self methodSignatureForSelector: selector]; |
︙ | ︙ |