llvm.org GIT mirror llvm / 397afeb
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 Lang Hames 6 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
436436 for (NodeItr nodeItr = nodesBegin(), nodeEnd = nodesEnd();
437437 nodeItr != nodeEnd; ++nodeItr) {
438438
439 os << " node" << nodeItr << " [ label=\""
440 << nodeItr << ": " << getNodeCosts(*nodeItr) << "\" ]\n";
439 os << " node" << *nodeItr << " [ label=\""
440 << *nodeItr << ": " << getNodeCosts(*nodeItr) << "\" ]\n";
441441 }
442442
443443 os << " edge [ len=" << getNumNodes() << " ]\n";