mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Use handy method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c0b9bf2b5
commit
5171115cf3
@ -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…
x
Reference in New Issue
Block a user