[llvm] r227415 - Remove an unused private field added r227405 to fix a Clang warning.
Chandler Carruth
chandlerc at gmail.com
Wed Jan 28 18:44:53 PST 2015
Author: chandlerc
Date: Wed Jan 28 20:44:53 2015
New Revision: 227415
URL: http://llvm.org/viewvc/llvm-project?rev=227415&view=rev
Log:
Remove an unused private field added r227405 to fix a Clang warning.
Modified:
llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
Modified: llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/WinEHPrepare.cpp?rev=227415&r1=227414&r2=227415&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Wed Jan 28 20:44:53 2015
@@ -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());
}
More information about the llvm-commits
mailing list