mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +00:00
add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23575 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
22f6212e9f
commit
37345fe3cd
@ -51,6 +51,12 @@ struct DefaultDOTGraphTraits {
|
||||
static std::string getNodeLabel(const void *Node, const void *Graph) {
|
||||
return "";
|
||||
}
|
||||
|
||||
/// hasNodeAddressLabel - If this method returns true, the address of the node
|
||||
/// is added to the label of the node.
|
||||
static bool hasNodeAddressLabel(const void *Node, const void *Graph) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/// If you want to specify custom node attributes, this is the place to do so
|
||||
///
|
||||
|
@ -33,6 +33,11 @@ namespace llvm {
|
||||
static bool renderGraphFromBottomUp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool hasNodeAddressLabel(const SDNode *Node,
|
||||
const SelectionDAG *Graph) {
|
||||
return true;
|
||||
}
|
||||
|
||||
static std::string getNodeLabel(const SDNode *Node,
|
||||
const SelectionDAG *Graph);
|
||||
|
Loading…
Reference in New Issue
Block a user