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:
Saleem Abdulrasool 2016-08-14 05:07:20 +00:00
parent 0c45f41a02
commit 07a4e3014b

View File

@ -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;
}