mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 08:29:43 +00:00
Simplify. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
078442e9d4
commit
a46a5bf8ab
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user