summaryrefslogtreecommitdiff
path: root/lib/Analysis
diff options
context:
space:
mode:
authorAndreas Neustifter <astifter-llvm@gmx.at>2009-09-04 21:22:04 +0000
committerAndreas Neustifter <astifter-llvm@gmx.at>2009-09-04 21:22:04 +0000
commit31dcbc3b4a1dea7351af5e8c08285c91049ab2c3 (patch)
tree4e9938d97affc3940e6bae86217307531ad20f40 /lib/Analysis
parent4d44081c8c93ee3a39d448e9404970ab56171ee9 (diff)
downloadllvm-31dcbc3b4a1dea7351af5e8c08285c91049ab2c3.tar.gz
llvm-31dcbc3b4a1dea7351af5e8c08285c91049ab2c3.tar.bz2
llvm-31dcbc3b4a1dea7351af5e8c08285c91049ab2c3.tar.xz
Prevent warnings on compilers for which its not clear that assert won't return.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/ProfileVerifierPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/ProfileVerifierPass.cpp b/lib/Analysis/ProfileVerifierPass.cpp
index e0ef6cee4f..0cb75a2a07 100644
--- a/lib/Analysis/ProfileVerifierPass.cpp
+++ b/lib/Analysis/ProfileVerifierPass.cpp
@@ -167,6 +167,7 @@ double ProfileVerifierPass::ReadOrAssert(ProfileInfo::Edge E) {
return 0;
} else {
assert(0 && Message);
+ return 0;
}
} else {
return EdgeWeight;