projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42854e5
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209381
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FixupLEAs.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86FixupLEAs.cpp
b/lib/Target/X86/X86FixupLEAs.cpp
index 576f39d3c3a389977e8a5b4c120c19adb4392f94..1e7712c2df860a625ed3a6b0de446ddbe98e828d 100644
(file)
--- a/
lib/Target/X86/X86FixupLEAs.cpp
+++ b/
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";);