ObjFW  Check-in [090f42fc70]

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: 090f42fc70c91f1525ab45fc926f338052b33878c8abd4e5bd59bee12c8aaaea
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
248
249
250
251
252
253
254

255
256
257
258
259
260
261
	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];
	OFInvocation *invocation;







>







249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
	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];
	OFInvocation *invocation;