Fix last DOTGraphTraits problems in CompilationGraph.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90136 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tobias Grosser 2009-11-30 13:34:51 +00:00
parent b5eedf2c1c
commit ab01069fcd
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,
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*>
: public DefaultDOTGraphTraits
{
DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {}
template<typename GraphType>
static std::string getNodeLabel(const Node* N, const GraphType&)