mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
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:
@@ -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&)
|
||||||
|
|||||||
Reference in New Issue
Block a user