Fully initialize all ivars, fixing PR3790, patch by Edwin Torok!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-03-12 17:22:48 +00:00
parent 826af20ed5
commit 40a07a4121

View File

@ -122,7 +122,7 @@ class PassManagerPrettyStackEntry : public PrettyStackTraceEntry {
Module *M;
public:
PassManagerPrettyStackEntry(Pass *p)
: P(p) {} // When P is releaseMemory'd.
: P(p), V(0), M(0) {} // When P is releaseMemory'd.
PassManagerPrettyStackEntry(Pass *p, Value &v)
: P(p), V(&v), M(0) {} // When P is run on V
PassManagerPrettyStackEntry(Pass *p, Module &m)