summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/WinEHPrepare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/WinEHPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/WinEHPrepare.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp
index f9767384467..b5f8463b896 100644
--- a/llvm/lib/CodeGen/WinEHPrepare.cpp
+++ b/llvm/lib/CodeGen/WinEHPrepare.cpp
@@ -27,13 +27,12 @@ using namespace llvm;
namespace {
class WinEHPrepare : public FunctionPass {
- const TargetMachine *TM;
FunctionPass *DwarfPrepare;
public:
static char ID; // Pass identification, replacement for typeid.
WinEHPrepare(const TargetMachine *TM = nullptr)
- : FunctionPass(ID), TM(TM), DwarfPrepare(createDwarfEHPass(TM)) {
+ : FunctionPass(ID), DwarfPrepare(createDwarfEHPass(TM)) {
initializeDominatorTreeWrapperPassPass(*PassRegistry::getPassRegistry());
}
OpenPOWER on IntegriCloud