Remove an oddly unnecessary temporary.

llvm-svn: 298888
This commit is contained in:
Eric Christopher 2017-03-27 22:40:51 +00:00
parent 955f1cd5dd
commit f91749e2b5

View File

@ -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();
}
}