Fix uninitialized member problem
authorChris Lattner <sabre@nondot.org>
Tue, 11 Feb 2003 06:36:00 +0000 (06:36 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Feb 2003 06:36:00 +0000 (06:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5534 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraph.h

index 80c6bd4f6b5c8df22085ae6646b95bbb58810f4a..eebefa5f5dd6dd451d21e16c20b2d6d1283e1fe9 100644 (file)
@@ -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
index 80c6bd4f6b5c8df22085ae6646b95bbb58810f4a..eebefa5f5dd6dd451d21e16c20b2d6d1283e1fe9 100644 (file)
@@ -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