forked from OSchip/llvm-project
Fix last DOTGraphTraits problems in CompilationGraph.
llvm-svn: 90136
This commit is contained in:
parent
0729c6e281
commit
9caf3801ca
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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&)
|
||||||
|
|
Loading…
Reference in New Issue