1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Silenced a warning "implicit conversion turns string literal into bool" introduced in r362473

llvm-svn: 362480
This commit is contained in:
Dmitri Gribenko 2019-06-04 09:31:07 +00:00
parent 2ba541a38b
commit cb5fac1d12

View File

@ -3913,8 +3913,9 @@ void SwitchInstProfUpdateWrapper::init() {
if (ProfileData->getNumOperands() != SI.getNumSuccessors() + 1) {
State = Invalid;
if (SwitchInstProfUpdateWrapperStrict)
assert(!"number of prof branch_weights metadata operands corresponds to"
" number of succesors");
assert(false &&
"number of prof branch_weights metadata operands corresponds to"
" number of succesors");
return;
}