From: Eric Christopher Date: Thu, 22 May 2014 01:45:59 +0000 (+0000) Subject: Remove extra local variable. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0bd2fa9276500c4aef7d279c28ce3ff54229842;p=platform%2Fupstream%2Fllvm.git Remove extra local variable. llvm-svn: 209381 --- diff --git a/llvm/lib/Target/X86/X86FixupLEAs.cpp b/llvm/lib/Target/X86/X86FixupLEAs.cpp index 576f39d..1e7712c 100644 --- a/llvm/lib/Target/X86/X86FixupLEAs.cpp +++ b/llvm/lib/Target/X86/X86FixupLEAs.cpp @@ -149,8 +149,7 @@ FunctionPass *llvm::createX86FixupLEAs() { } bool FixupLEAPass::runOnMachineFunction(MachineFunction &Func) { - MF = &Func; - TM = &MF->getTarget(); + TM = &Func.getTarget(); TII = static_cast(TM->getInstrInfo()); DEBUG(dbgs() << "Start X86FixupLEAs\n";);