Skip to content

Commit fecec3c

Browse files
committed
Silence warning of disabled code
SR-4041
1 parent 502cf01 commit fecec3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/IRGen/GenFunc.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,10 +1337,10 @@ void irgen::emitFunctionPartialApplication(IRGenFunction &IGF,
13371337
// last parameter that fits into a register as swiftself.
13381338
// We should get this optimization back using the @convention(closure) whose
13391339
// box argument should just be swift self.
1340-
if (false &&
1340+
if (/* DISABLES CODE */ (false) &&
13411341
!origType->isPolymorphic() &&
1342-
hasSingleSwiftRefcountedContext == Yes
1343-
&& outType->getCalleeConvention() == *singleRefcountedConvention) {
1342+
hasSingleSwiftRefcountedContext == Yes &&
1343+
outType->getCalleeConvention() == *singleRefcountedConvention) {
13441344
assert(args.size() == 1);
13451345
fnPtr = IGF.Builder.CreateBitCast(fnPtr, IGF.IGM.Int8PtrTy);
13461346
out.add(fnPtr);

0 commit comments

Comments
 (0)