mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
add iterators for return nodes list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a3fcfff633
commit
60cc3e1c4e
@ -264,6 +264,13 @@ public:
|
||||
return I->second;
|
||||
}
|
||||
|
||||
/// retnodes_* iterator methods: expose iteration over return nodes in the
|
||||
/// graph, which are also the set of functions incorporated in this graph.
|
||||
typedef ReturnNodesTy::const_iterator retnodes_iterator;
|
||||
retnodes_iterator retnodes_begin() const { return ReturnNodes.begin(); }
|
||||
retnodes_iterator retnodes_end() const { return ReturnNodes.end(); }
|
||||
|
||||
|
||||
/// getReturnNodes - Return the mapping of functions to their return nodes for
|
||||
/// this graph.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user