aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/GraphWriter.h
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-02-27 04:11:03 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-02-27 04:11:03 +0000
commita91f86c49a63f7a37c662c3a9553055bff33a84b (patch)
treeedf10db89b2d9440fa38416db419256b72243bbf /include/llvm/Support/GraphWriter.h
parent0aa00f91100fb031cd9cde2562cdc029f4fb26d5 (diff)
Pass the graph to the DOTGraphTraits.getEdgeAttributes().
This follows the interface of getNodeAttributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r--include/llvm/Support/GraphWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h
index 7573ef0dc9..8e1b0f92fa 100644
--- a/include/llvm/Support/GraphWriter.h
+++ b/include/llvm/Support/GraphWriter.h
@@ -240,7 +240,7 @@ public:
emitEdge(static_cast<const void*>(Node), edgeidx,
static_cast<const void*>(TargetNode), DestPort,
- DTraits.getEdgeAttributes(Node, EI));
+ DTraits.getEdgeAttributes(Node, EI, G));
}
}