summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-11 06:36:00 +0000
committerChris Lattner <sabre@nondot.org>2003-02-11 06:36:00 +0000
commit1cc14aa2bac93d9dfc6d95c1eb9a2702b9f4780e (patch)
tree45c5d0ed3b2a0ac8331e1e2f3382e379156d6d27
parent242d6853325c5db33abb99bacbef0f4df68e9cb2 (diff)
downloadbcm5719-llvm-1cc14aa2bac93d9dfc6d95c1eb9a2702b9f4780e.tar.gz
bcm5719-llvm-1cc14aa2bac93d9dfc6d95c1eb9a2702b9f4780e.zip
Fix uninitialized member problem
llvm-svn: 5534
-rw-r--r--llvm/include/llvm/Analysis/DSGraph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/DSGraph.h b/llvm/include/llvm/Analysis/DSGraph.h
index 80c6bd4f6b5..eebefa5f5dd 100644
--- a/llvm/include/llvm/Analysis/DSGraph.h
+++ b/llvm/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
OpenPOWER on IntegriCloud