File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1337,10 +1337,10 @@ void irgen::emitFunctionPartialApplication(IRGenFunction &IGF,
1337
1337
// last parameter that fits into a register as swiftself.
1338
1338
// We should get this optimization back using the @convention(closure) whose
1339
1339
// box argument should just be swift self.
1340
- if (false &&
1340
+ if (/* DISABLES CODE */ ( false ) &&
1341
1341
!origType->isPolymorphic () &&
1342
- hasSingleSwiftRefcountedContext == Yes
1343
- && outType->getCalleeConvention () == *singleRefcountedConvention) {
1342
+ hasSingleSwiftRefcountedContext == Yes &&
1343
+ outType->getCalleeConvention () == *singleRefcountedConvention) {
1344
1344
assert (args.size () == 1 );
1345
1345
fnPtr = IGF.Builder .CreateBitCast (fnPtr, IGF.IGM .Int8PtrTy );
1346
1346
out.add (fnPtr);
You can’t perform that action at this time.
0 commit comments