diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-04 16:08:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-04 16:08:57 +0000 |
commit | 1f5d212ca720b4e82c14c79c4a96b6ccc4fc3307 (patch) | |
tree | fa4e2db27eb7e6cdce9e4532fb926778cf9bfc56 | |
parent | 38bb2f8d094a7e98d07b258ec5b722b07ad45dcb (diff) |
Add a return statement to suppress warnings in NDEBUG builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58702 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/ValueTypes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/ValueTypes.cpp b/lib/VMCore/ValueTypes.cpp index d02a538eb2..22449f9040 100644 --- 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". |