summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/WinEHPrepare.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-29 02:44:53 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-29 02:44:53 +0000
commita1a622746e532ac71c46aa752a6573fd086284cc (patch)
treeab4257242798dacddb5dc0216a98aa8e64e8780b /llvm/lib/CodeGen/WinEHPrepare.cpp
parent9cefa9ac2d66ebf16a289c5d916ed79887c93d7c (diff)
downloadbcm5719-llvm-a1a622746e532ac71c46aa752a6573fd086284cc.tar.gz
bcm5719-llvm-a1a622746e532ac71c46aa752a6573fd086284cc.zip
Remove an unused private field added r227405 to fix a Clang warning.
llvm-svn: 227415
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