mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
Minor cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,7 +35,8 @@ namespace llvm {
|
||||
template<>
|
||||
struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits {
|
||||
|
||||
DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {}
|
||||
explicit DOTGraphTraits(bool isSimple=false) :
|
||||
DefaultDOTGraphTraits(isSimple) {}
|
||||
|
||||
static bool hasEdgeDestLabels() {
|
||||
return true;
|
||||
@@ -131,7 +132,7 @@ namespace llvm {
|
||||
|
||||
std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
|
||||
const SelectionDAG *G) {
|
||||
return DOTGraphTraits<SelectionDAG*>::getSimpleNodeLabel (Node, G);
|
||||
return DOTGraphTraits<SelectionDAG*>::getSimpleNodeLabel(Node, G);
|
||||
}
|
||||
|
||||
|
||||
@@ -251,8 +252,7 @@ void SelectionDAG::setSubgraphColor(SDNode *N, const char *Color) {
|
||||
// Visually mark that we hit the limit
|
||||
if (strcmp(Color, "red") == 0) {
|
||||
setSubgraphColorHelper(N, "blue", visited, 0, printed);
|
||||
}
|
||||
else if (strcmp(Color, "yellow") == 0) {
|
||||
} else if (strcmp(Color, "yellow") == 0) {
|
||||
setSubgraphColorHelper(N, "green", visited, 0, printed);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user