We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c88165c + fecec3c commit ec90e4aCopy full SHA for ec90e4a
lib/IRGen/GenFunc.cpp
@@ -1337,10 +1337,10 @@ void irgen::emitFunctionPartialApplication(IRGenFunction &IGF,
1337
// last parameter that fits into a register as swiftself.
1338
// We should get this optimization back using the @convention(closure) whose
1339
// box argument should just be swift self.
1340
- if (false &&
+ if (/* DISABLES CODE */ (false) &&
1341
!origType->isPolymorphic() &&
1342
- hasSingleSwiftRefcountedContext == Yes
1343
- && outType->getCalleeConvention() == *singleRefcountedConvention) {
+ hasSingleSwiftRefcountedContext == Yes &&
+ outType->getCalleeConvention() == *singleRefcountedConvention) {
1344
assert(args.size() == 1);
1345
fnPtr = IGF.Builder.CreateBitCast(fnPtr, IGF.IGM.Int8PtrTy);
1346
out.add(fnPtr);
0 commit comments