aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/DSGraph.h3
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h
index 80c6bd4f6b..eebefa5f5d 100644
--- a/include/llvm/Analysis/DSGraph.h
+++ b/include/llvm/Analysis/DSGraph.h
@@ -37,7 +37,8 @@ class DSGraph {
void operator=(const DSGraph &); // DO NOT IMPLEMENT
public:
- DSGraph() : Func(0), GlobalsGraph(0) {} // Create a new, empty, DSGraph.
+ // Create a new, empty, DSGraph.
+ DSGraph() : Func(0), GlobalsGraph(0), PrintAuxCalls(false) {}
DSGraph(Function &F, DSGraph *GlobalsGraph); // Compute the local DSGraph
// Copy ctor - If you want to capture the node mapping between the source and
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h
index 80c6bd4f6b..eebefa5f5d 100644
--- a/include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/include/llvm/Analysis/DataStructure/DSGraph.h
@@ -37,7 +37,8 @@ class DSGraph {
void operator=(const DSGraph &); // DO NOT IMPLEMENT
public:
- DSGraph() : Func(0), GlobalsGraph(0) {} // Create a new, empty, DSGraph.
+ // Create a new, empty, DSGraph.
+ DSGraph() : Func(0), GlobalsGraph(0), PrintAuxCalls(false) {}
DSGraph(Function &F, DSGraph *GlobalsGraph); // Compute the local DSGraph
// Copy ctor - If you want to capture the node mapping between the source and