projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463b84b
)
Remove extra local variable.
author
Eric Christopher
<echristo@gmail.com>
Thu, 22 May 2014 01:45:59 +0000
(
01:45
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Thu, 22 May 2014 01:45:59 +0000
(
01:45
+0000)
llvm-svn: 209381
llvm/lib/Target/X86/X86FixupLEAs.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86FixupLEAs.cpp
b/llvm/lib/Target/X86/X86FixupLEAs.cpp
index
576f39d
..
1e7712c
100644
(file)
--- 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<const X86InstrInfo*>(TM->getInstrInfo());
DEBUG(dbgs() << "Start X86FixupLEAs\n";);