diff options
author | Andrew Trick <atrick@apple.com> | 2012-02-03 20:14:47 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-02-03 20:14:47 +0000 |
commit | f1f78d5266dd67e25f23904578d69384bb53a6f7 (patch) | |
tree | 8450e57c1b3fbacfe4529c4705204af8c504e9cc /include | |
parent | 36b7beb42921c428fc9f5b5a9cc9feb7fe7dd4b3 (diff) |
Initialize all common codegen passes before configuration so we can use their PassIDs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/Passes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index 082bada1c3..627568a4e4 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/include/llvm/CodeGen/Passes.h @@ -42,8 +42,7 @@ protected: public: TargetPassConfig(TargetMachine *tm, PassManagerBase &pm, - bool DisableVerifyFlag) - : TM(tm), PM(pm), DisableVerify(DisableVerifyFlag) {} + bool DisableVerifyFlag); virtual ~TargetPassConfig() {} |