Simplify. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-07-06 15:53:43 +00:00
parent a46a5bf8ab
commit 297f505009

View File

@ -199,9 +199,7 @@ bool error(std::error_code EC) {
}
bool 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 llvm