mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 08:44:48 +00:00
Prevent warnings on compilers for which its not clear that assert won't return.
llvm-svn: 81044
This commit is contained in:
parent
82f4d9b9fc
commit
bba38af145
@ -167,6 +167,7 @@ double ProfileVerifierPass::ReadOrAssert(ProfileInfo::Edge E) {
|
||||
return 0;
|
||||
} else {
|
||||
assert(0 && Message);
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return EdgeWeight;
|
||||
|
Loading…
x
Reference in New Issue
Block a user