forked from OSchip/llvm-project
Prevent warnings on compilers for which its not clear that assert won't return.
llvm-svn: 81044
This commit is contained in:
parent
7af06f63bf
commit
b7d704dac3
|
@ -167,6 +167,7 @@ double ProfileVerifierPass::ReadOrAssert(ProfileInfo::Edge E) {
|
|||
return 0;
|
||||
} else {
|
||||
assert(0 && Message);
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return EdgeWeight;
|
||||
|
|
Loading…
Reference in New Issue