OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ef0d2
)
Remove an oddly unnecessary temporary.
author
Eric Christopher
<echristo@gmail.com>
Mon, 27 Mar 2017 22:40:51 +0000
(22:40 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Mon, 27 Mar 2017 22:40:51 +0000
(22:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298888
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.cpp
b/lib/Target/PowerPC/PPCInstrInfo.cpp
index
6c148a3
..
8e159f4
100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.cpp
+++ b/
lib/Target/PowerPC/PPCInstrInfo.cpp
@@
-1836,8
+1836,7
@@
unsigned PPCInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
PatchPointOpers Opers(&MI);
return Opers.getNumPatchBytes();
} else {
- const MCInstrDesc &Desc = get(Opcode);
- return Desc.getSize();
+ return get(Opcode).getSize();
}
}