From: Chris Lattner Date: Tue, 11 Feb 2003 06:36:00 +0000 (+0000) Subject: Fix uninitialized member problem X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d3c2e3237c00102f435cd7ebf44f80b0747435d3;p=oota-llvm.git Fix uninitialized member problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5534 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h index 80c6bd4f6b5..eebefa5f5dd 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 80c6bd4f6b5..eebefa5f5dd 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