mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Make sure to print indirect node again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28c2d409a5
commit
196cee2dba
@ -253,9 +253,7 @@ template<> struct GraphTraits<CallGraph*> : public GraphTraits<CallGraphNode*> {
|
|||||||
// nodes_iterator/begin/end - Allow iteration over all nodes in the graph
|
// nodes_iterator/begin/end - Allow iteration over all nodes in the graph
|
||||||
typedef mapped_iterator<CallGraph::iterator, DerefFun> nodes_iterator;
|
typedef mapped_iterator<CallGraph::iterator, DerefFun> nodes_iterator;
|
||||||
static nodes_iterator nodes_begin(CallGraph *CG) {
|
static nodes_iterator nodes_begin(CallGraph *CG) {
|
||||||
CallGraph::iterator I = CG->begin();
|
return map_iterator(CG->begin(), DerefFun(CGdereference));
|
||||||
++I;
|
|
||||||
return map_iterator(I, DerefFun(CGdereference));
|
|
||||||
}
|
}
|
||||||
static nodes_iterator nodes_end (CallGraph *CG) {
|
static nodes_iterator nodes_end (CallGraph *CG) {
|
||||||
return map_iterator(CG->end(), DerefFun(CGdereference));
|
return map_iterator(CG->end(), DerefFun(CGdereference));
|
||||||
|
Loading…
Reference in New Issue
Block a user