diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-05-20 21:28:28 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-05-20 21:28:28 +0000 |
commit | 47447589c9a6af2c290481edc0db126bcd206526 (patch) | |
tree | 0f127f844e328f9a006b81482eae37d2f1e67108 /llvm/lib/CodeGen/DwarfEHPrepare.cpp | |
parent | 0ebf87959fff8aea5520735a1751956458a72df4 (diff) | |
download | bcm5719-llvm-47447589c9a6af2c290481edc0db126bcd206526.tar.gz bcm5719-llvm-47447589c9a6af2c290481edc0db126bcd206526.zip |
No need to store the TargetMachine variable in this class.
llvm-svn: 182317
Diffstat (limited to 'llvm/lib/CodeGen/DwarfEHPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/DwarfEHPrepare.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp index f27ec770eba..31c8e5948d9 100644 --- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp +++ b/llvm/lib/CodeGen/DwarfEHPrepare.cpp @@ -32,7 +32,6 @@ STATISTIC(NumResumesLowered, "Number of resume calls lowered"); namespace { class DwarfEHPrepare : public FunctionPass { - const TargetMachine *TM; const TargetLoweringBase *TLI; // RewindFunction - _Unwind_Resume or the target equivalent. @@ -43,9 +42,8 @@ namespace { public: static char ID; // Pass identification, replacement for typeid. - DwarfEHPrepare(const TargetMachine *tm) : - FunctionPass(ID), TM(tm), TLI(TM->getTargetLowering()), - RewindFunction(0) { + DwarfEHPrepare(const TargetMachine *TM) : + FunctionPass(ID), TLI(TM->getTargetLowering()), RewindFunction(0) { initializeDominatorTreePass(*PassRegistry::getPassRegistry()); } |