Fix last DOTGraphTraits problems in CompilationGraph.

llvm-svn: 90136
This commit is contained in:
Tobias Grosser 2009-11-30 13:34:51 +00:00
parent 0729c6e281
commit 9caf3801ca
2 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,7 @@ namespace llvm {
std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
const SelectionDAG *G) { const SelectionDAG *G) {
DOTGraphTraits<SelectionDAG*>::getSimpleNodeLabel (Node, G); return DOTGraphTraits<SelectionDAG*>::getSimpleNodeLabel (Node, G);
} }

View File

@ -471,6 +471,7 @@ namespace llvm {
struct DOTGraphTraits<llvmc::CompilationGraph*> struct DOTGraphTraits<llvmc::CompilationGraph*>
: public DefaultDOTGraphTraits : public DefaultDOTGraphTraits
{ {
DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {}
template<typename GraphType> template<typename GraphType>
static std::string getNodeLabel(const Node* N, const GraphType&) static std::string getNodeLabel(const Node* N, const GraphType&)