summaryrefslogtreecommitdiffstats
path: root/include/llvm/PassManagers.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-12 17:22:48 +0000
committerChris Lattner <sabre@nondot.org>2009-03-12 17:22:48 +0000
commit40a07a4121530040ed83a508c9c638be1c526292 (patch)
treedd3fbba010fc857f5b6c65723c9aadf462957c52 /include/llvm/PassManagers.h
parent826af20ed5d9709655877fe01f88a55ffd53bba1 (diff)
downloadexternal_llvm-40a07a4121530040ed83a508c9c638be1c526292.zip
external_llvm-40a07a4121530040ed83a508c9c638be1c526292.tar.gz
external_llvm-40a07a4121530040ed83a508c9c638be1c526292.tar.bz2
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
Diffstat (limited to 'include/llvm/PassManagers.h')
-rw-r--r--include/llvm/PassManagers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h
index fbf28f3..0716ce5 100644
--- a/include/llvm/PassManagers.h
+++ b/include/llvm/PassManagers.h
@@ -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)