Skip to content

Commit 20fd3cd

Browse files
Remove dead code
1 parent ff72d4f commit 20fd3cd

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/passes/GlobalEffects.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,6 @@ void propagateEffects(const Module& module,
239239
// We only care about Functions that are roots, not types
240240
// A type would be a root if a function exists with that type, but no-one
241241
// indirect calls the type.
242-
std::vector<CallGraphNode> allFuncs;
243-
for (auto& [func, info] : funcInfos) {
244-
allFuncs.push_back(func);
245-
}
246-
247242
auto funcNodes = std::views::keys(callGraph) |
248243
std::views::filter([](auto node) {
249244
return std::holds_alternative<Function*>(node);

0 commit comments

Comments
 (0)