diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-11 06:36:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-11 06:36:00 +0000 |
commit | d3c2e3237c00102f435cd7ebf44f80b0747435d3 (patch) | |
tree | c2b910a284f84ff0d54f0cdfbb40d55773dfd958 | |
parent | 1fcc101b1c0eb5241043c5808a022852911d6fd9 (diff) |
Fix uninitialized member problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5534 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/DSGraph.h | 3 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraph.h | 3 |
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 |