[llvm-commits] [llvm] r66798 - /llvm/trunk/include/llvm/PassManagers.h
Chris Lattner
sabre at nondot.org
Thu Mar 12 10:22:50 PDT 2009
Author: lattner
Date: Thu Mar 12 12:22:48 2009
New Revision: 66798
URL: http://llvm.org/viewvc/llvm-project?rev=66798&view=rev
Log:
Fully initialize all ivars, fixing PR3790, patch by Edwin Torok!
Modified:
llvm/trunk/include/llvm/PassManagers.h
Modified: llvm/trunk/include/llvm/PassManagers.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassManagers.h?rev=66798&r1=66797&r2=66798&view=diff
==============================================================================
--- llvm/trunk/include/llvm/PassManagers.h (original)
+++ llvm/trunk/include/llvm/PassManagers.h Thu Mar 12 12:22:48 2009
@@ -122,7 +122,7 @@
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)
More information about the llvm-commits
mailing list