commit | f48ef3355fc8b20a9b2d3c55533b03ba5545f46a | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Mon Mar 27 22:40:51 2017 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Mon Mar 27 22:40:51 2017 +0000 |
tree | 008aeb17ed63e9d68f4070228a0e73b2cc99084f | |
parent | be2f7d9d61abeab29fa9b601d8f487842b2ee318 [diff] [blame] |
Remove an oddly unnecessary temporary. llvm-svn: 298888
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp index 6c148a3..8e159f4 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
@@ -1836,8 +1836,7 @@ PatchPointOpers Opers(&MI); return Opers.getNumPatchBytes(); } else { - const MCInstrDesc &Desc = get(Opcode); - return Desc.getSize(); + return get(Opcode).getSize(); } }