[llvm] r241456 - Simplify. NFC.
Rafael Espindola
rafael.espindola at gmail.com
Mon Jul 6 08:47:44 PDT 2015
Author: rafael
Date: Mon Jul 6 10:47:43 2015
New Revision: 241456
URL: http://llvm.org/viewvc/llvm-project?rev=241456&view=rev
Log:
Simplify. NFC.
Modified:
llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
Modified: llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp?rev=241456&r1=241455&r2=241456&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp Mon Jul 6 10:47:43 2015
@@ -212,9 +212,7 @@ static const Target *getTarget(const Obj
}
bool llvm::RelocAddressLess(RelocationRef a, RelocationRef b) {
- uint64_t a_addr = a.getOffset();
- uint64_t b_addr = b.getOffset();
- return a_addr < b_addr;
+ return a.getOffset() < b.getOffset();
}
namespace {
More information about the llvm-commits
mailing list