Remove unused variable.
authorEric Christopher <echristo@gmail.com>
Thu, 22 May 2014 05:33:03 +0000 (05:33 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 22 May 2014 05:33:03 +0000 (05:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209391 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetLoweringBase.cpp

index 978432411ef877ca5b1134a16e0245f199608213..2634d71fce3607636b0cab2be4040dd8cbc12497 100644 (file)
@@ -915,7 +915,6 @@ bool TargetLoweringBase::isLegalRC(const TargetRegisterClass *RC) const {
 MachineBasicBlock*
 TargetLoweringBase::emitPatchPoint(MachineInstr *MI,
                                    MachineBasicBlock *MBB) const {
-  const TargetMachine &TM = getTargetMachine();
   MachineFunction &MF = *MI->getParent()->getParent();
 
   // MI changes inside this loop as we grow operands.