Skip to content

Commit 995d1d1

Browse files
authored
[SjLjEHPrepare] Use inverse_depth_first() instead of _ext variant (NFC). (#84920)
inverse_depth_first df_iterator_default_set as default set, so there's no need to explicitly use inverse_depth_first_ext. PR: #84920
1 parent e371ada commit 995d1d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/CodeGen/SjLjEHPrepare.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,7 @@ static void MarkBlocksLiveIn(BasicBlock *BB,
150150
if (!LiveBBs.insert(BB).second)
151151
return; // already been here.
152152

153-
df_iterator_default_set<BasicBlock*> Visited;
154-
155-
for (BasicBlock *B : inverse_depth_first_ext(BB, Visited))
153+
for (BasicBlock *B : inverse_depth_first(BB))
156154
LiveBBs.insert(B);
157155
}
158156

0 commit comments

Comments
 (0)