Skip to content

Commit 97f1963

Browse files
authored
Merge pull request #5341 from practicalswift/gardening-20161018
2 parents 5698b6c + 3628581 commit 97f1963

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/SILOptimizer/SILCombiner/SILCombinerApplyVisitors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ SILCombiner::propagateConcreteTypeOfInitExistential(FullApplySite AI,
871871
return nullptr;
872872
}
873873

874-
// The lookup type is not a opened existential type,
874+
// The lookup type is not an opened existential type,
875875
// thus it cannot be made more concrete.
876876
if (!WMI->getLookupType()->isOpenedExistential())
877877
return nullptr;

lib/SILOptimizer/Utils/Devirtualize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ static void getWitnessMethodSubstitutions(ApplySite AI, SILFunction *F,
867867
}
868868

869869
/// Check if an upcast is legal.
870-
/// THe logic in this function is heavily based on the checks in
870+
/// The logic in this function is heavily based on the checks in
871871
/// the SILVerifier.
872872
bool swift::isLegalUpcast(SILType FromTy, SILType ToTy) {
873873
if (ToTy.is<MetatypeType>()) {

0 commit comments

Comments
 (0)