projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38bb2f8
)
Add a return statement to suppress warnings in NDEBUG builds.
author
Dan Gohman
<gohman@apple.com>
Tue, 4 Nov 2008 16:08:57 +0000
(16:08 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 4 Nov 2008 16:08:57 +0000
(16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58702
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/ValueTypes.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/ValueTypes.cpp
b/lib/VMCore/ValueTypes.cpp
index d02a538eb248beaf9d172f47211583ed2abc306d..22449f9040adf08c5be2553f850a51373f790893 100644
(file)
--- a/
lib/VMCore/ValueTypes.cpp
+++ b/
lib/VMCore/ValueTypes.cpp
@@
-71,6
+71,7
@@
unsigned MVT::getExtendedSizeInBits() const {
if (const VectorType *VTy = dyn_cast<VectorType>(LLVMTy))
return VTy->getBitWidth();
assert(false && "Unrecognized extended type!");
+ return 0; // Suppress warnings.
}
/// getMVTString - This function returns value type as a string, e.g. "i32".