Skip to content

Commit a3f3a76

Browse files
committed
Fix formatting and tabs. NFC.
1 parent 3784421 commit a3f3a76

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/SILPasses/EarlySIL/MandatoryInlining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ runOnFunctionRecursively(SILFunction *F, FullApplySite AI,
327327
InnerAI = NewAI;
328328
}
329329

330-
SILLocation Loc = InnerAI.getLoc();
330+
SILLocation Loc = InnerAI.getLoc();
331331
SILValue CalleeValue = InnerAI.getCallee();
332332
bool IsThick;
333333
PartialApplyInst *PAI;

lib/SILPasses/SILCombiner/SILCombinerMiscVisitors.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,8 +1081,8 @@ SILInstruction *SILCombiner::visitWitnessMethodInst(WitnessMethodInst *WMI) {
10811081
SILWitnessTable *WT;
10821082

10831083
std::tie(F, WT, Subs) =
1084-
WMI->getModule().lookUpFunctionInWitnessTable(WMI->getConformance(),
1085-
WMI->getMember());
1084+
WMI->getModule().lookUpFunctionInWitnessTable(WMI->getConformance(),
1085+
WMI->getMember());
10861086

10871087
if (!F)
10881088
return nullptr;

lib/SILPasses/Utils/Devirtualize.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ DevirtualizationResult swift::tryDevirtualizeClassMethod(FullApplySite AI,
504504
/// witness_method when we've determined the actual function we'll end
505505
/// up calling.
506506
static ApplySite devirtualizeWitnessMethod(ApplySite AI, SILFunction *F,
507-
ArrayRef<Substitution> Subs) {
507+
ArrayRef<Substitution> Subs) {
508508
// We know the witness thunk and the corresponding set of substitutions
509509
// required to invoke the protocol method at this point.
510510
auto &Module = AI.getModule();
@@ -539,8 +539,8 @@ static ApplySite devirtualizeWitnessMethod(ApplySite AI, SILFunction *F,
539539
// new argument list, upcasting when required.
540540
SILBuilderWithScope B(AI.getInstruction());
541541
for (unsigned ArgN = 0, ArgE = AI.getNumArguments(); ArgN != ArgE; ++ArgN) {
542-
SILValue A = AI.getArgument(ArgN);
543-
auto ParamType = ParamTypes[ParamTypes.size() - AI.getNumArguments() + ArgN];
542+
SILValue A = AI.getArgument(ArgN);
543+
auto ParamType = ParamTypes[ParamTypes.size() - AI.getNumArguments() + ArgN];
544544
if (A.getType() != ParamType)
545545
A = B.createUpcast(AI.getLoc(), A, ParamType);
546546

0 commit comments

Comments
 (0)