Fix uninitialized member problem

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5534 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-02-11 06:36:00 +00:00
parent 1fcc101b1c
commit d3c2e3237c
2 changed files with 4 additions and 2 deletions

View 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

View 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