mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Instantiate DefaultDOTGraphTraits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90133 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,6 +35,9 @@ using namespace llvm;
|
||||
namespace llvm {
|
||||
template<>
|
||||
struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits {
|
||||
|
||||
DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {}
|
||||
|
||||
static bool hasEdgeDestLabels() {
|
||||
return true;
|
||||
}
|
||||
@@ -48,8 +51,8 @@ namespace llvm {
|
||||
}
|
||||
|
||||
/// edgeTargetsEdgeSource - This method returns true if this outgoing edge
|
||||
/// should actually target another edge source, not a node. If this method is
|
||||
/// implemented, getEdgeTarget should be implemented.
|
||||
/// should actually target another edge source, not a node. If this method
|
||||
/// is implemented, getEdgeTarget should be implemented.
|
||||
template<typename EdgeIter>
|
||||
static bool edgeTargetsEdgeSource(const void *Node, EdgeIter I) {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user