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:
parent
2ba541a38b
commit
cb5fac1d12
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user