mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 10:30:30 +00:00
Revert "gold: add a cast to appease std::max NFC"
This was fixed differently by Teresa and this should no longer be needed. llvm-svn: 278622
This commit is contained in:
parent
0c45f41a02
commit
07a4e3014b
@ -626,8 +626,7 @@ static void addModule(LTO &Lto, claimed_file &F, const void *View) {
|
||||
CommonRes.Prevailing = true;
|
||||
CommonRes.VisibleToRegularObj = R.VisibleToRegularObj;
|
||||
}
|
||||
CommonRes.Size = std::max(CommonRes.Size,
|
||||
static_cast<uint64_t>(ObjSym.getCommonSize()));
|
||||
CommonRes.Size = std::max(CommonRes.Size, ObjSym.getCommonSize());
|
||||
CommonRes.Align = std::max(CommonRes.Align, ObjSym.getCommonAlignment());
|
||||
R.Prevailing = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user