Skip to content

Commit a11042e

Browse files
[gardening] Fix recently introduced typo: "precessor" → "predecessor"
1 parent b2d6e8c commit a11042e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Utils/Local.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ computeFrontierImpl(Frontier &Fr, bool AllowedToModifyCFG) {
11461146
// Handle "exit" edges from the lifetime region.
11471147
for (SILBasicBlock *FrontierBB: FrontierBlocks) {
11481148
bool needSplit = false;
1149-
// If the value is live only in part of the precessor blocks we have to
1149+
// If the value is live only in part of the predecessor blocks we have to
11501150
// split those predecessor edges.
11511151
for (SILBasicBlock *Pred : FrontierBB->getPreds()) {
11521152
if (!LiveBlocks.count(Pred) || NotLiveOutBlocks.count(Pred)) {

0 commit comments

Comments
 (0)