mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 15:45:26 +00:00
Use handy method
llvm-svn: 11692
This commit is contained in:
parent
7906b0bc03
commit
458704f675
@ -249,7 +249,7 @@ static void printCollection(const Collection &C, std::ostream &O,
|
||||
<< Gr.getGraphSize() << "+" << NumCalls << "]\n";
|
||||
}
|
||||
|
||||
unsigned GraphSize = std::distance(Gr.node_begin(), Gr.node_end());
|
||||
unsigned GraphSize = Gr.getGraphSize();
|
||||
if (MaxGraphSize < GraphSize) MaxGraphSize = GraphSize;
|
||||
|
||||
for (DSGraph::node_iterator NI = Gr.node_begin(), E = Gr.node_end();
|
||||
|
Loading…
Reference in New Issue
Block a user