Skip to content

Commit

Permalink
еще ссылка
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimShagov committed May 11, 2024
1 parent 24c7b50 commit 6f67815
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct EraseUnusedFunctions : public Transform<ModuleOp> {
std::unordered_set<std::string> usedFunctions = {"main"};
std::deque<std::string> queue(mainFunctions.begin(), mainFunctions.end());
while (!queue.empty()) {
auto name = queue.front();
auto &name = queue.front();
if (!usedFunctions.contains(name)) {
usedFunctions.emplace(name);
auto &innerFunctions = edges[name];
Expand Down

0 comments on commit 6f67815

Please sign in to comment.