mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #7727 from practicalswift/typos-20170223
[gardening] Fix typos
This commit is contained in:
@@ -179,7 +179,7 @@ static bool calleeHasPartialApplyWithOpenedExistentials(FullApplySite AI) {
|
||||
SILFunction *Callee = AI.getReferencedFunction();
|
||||
auto Subs = AI.getSubstitutions();
|
||||
|
||||
// Bail if there are no open existnetials in the list of substitutions.
|
||||
// Bail if there are no open existentials in the list of substitutions.
|
||||
bool HasNoOpenedExistentials = true;
|
||||
for (auto Sub : Subs) {
|
||||
if (Sub.getReplacement()->hasOpenedExistential()) {
|
||||
@@ -303,7 +303,7 @@ SILFunction *SILPerformanceInliner::getEligibleFunction(FullApplySite AI) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// IRGen cannot handle partial_applies containing opened_extistentials
|
||||
// IRGen cannot handle partial_applies containing opened_existentials
|
||||
// in its substitutions list.
|
||||
if (calleeHasPartialApplyWithOpenedExistentials(AI)) {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user