From d3c2e3237c00102f435cd7ebf44f80b0747435d3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 11 Feb 2003 06:36:00 +0000 Subject: [PATCH] Fix uninitialized member problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5534 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DSGraph.h | 3 ++- 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 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 -- 2.40.0