Skip to content

Commit

Permalink
Remove outdated begin() and end() methods from Region class (phate#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
phate authored Oct 6, 2024
1 parent ed49c50 commit 3dc7b57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion jlm/hls/backend/rvsdg2rhls/dae-conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ decouple_load(
}
// copy nodes
std::vector<std::vector<jlm::rvsdg::node *>> context(loopNode->subregion()->nnodes());
for (auto & node : *loopNode->subregion())
for (auto & node : loopNode->subregion()->Nodes())
{
JLM_ASSERT(node.depth() < context.size());
context[node.depth()].push_back(&node);
Expand Down
24 changes: 0 additions & 24 deletions jlm/rvsdg/region.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,30 +297,6 @@ class Region
return { bottom_nodes.begin(), bottom_nodes.end() };
}

inline region_nodes_list::iterator
begin()
{
return nodes.begin();
}

inline region_nodes_list::const_iterator
begin() const
{
return nodes.begin();
}

inline region_nodes_list::iterator
end()
{
return nodes.end();
}

inline region_nodes_list::const_iterator
end() const
{
return nodes.end();
}

inline jlm::rvsdg::graph *
graph() const noexcept
{
Expand Down

0 comments on commit 3dc7b57

Please sign in to comment.