mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Dereference the node iterator when dumping the PBQP graph structure in DOT
format. Thanks to Arnaud A. de Grandmaison for the patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195316 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce10f18555
commit
397afeb1fb
@ -437,8 +437,8 @@ namespace PBQP {
|
||||
for (NodeItr nodeItr = nodesBegin(), nodeEnd = nodesEnd();
|
||||
nodeItr != nodeEnd; ++nodeItr) {
|
||||
|
||||
os << " node" << nodeItr << " [ label=\""
|
||||
<< nodeItr << ": " << getNodeCosts(*nodeItr) << "\" ]\n";
|
||||
os << " node" << *nodeItr << " [ label=\""
|
||||
<< *nodeItr << ": " << getNodeCosts(*nodeItr) << "\" ]\n";
|
||||
}
|
||||
|
||||
os << " edge [ len=" << getNumNodes() << " ]\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user