Simplify. NFC.

llvm-svn: 241456
This commit is contained in:
Rafael Espindola
2015-07-06 15:47:43 +00:00
parent 2a80cab90e
commit 704cd841a1

View File

@@ -212,9 +212,7 @@ static const Target *getTarget(const ObjectFile *Obj = nullptr) {
}
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 {