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 | 72d10ab9ada15e2192efbcd32d8abe111b0dec7e (patch) | |
| tree | f6896d254661a6553615085952eed853dd000e8c /llvm/lib/VMCore | |
| parent | ade09cd9d36b58044b8d5b60c19827015c35a103 (diff) | |
| download | bcm5719-llvm-72d10ab9ada15e2192efbcd32d8abe111b0dec7e.tar.gz bcm5719-llvm-72d10ab9ada15e2192efbcd32d8abe111b0dec7e.zip | |
Add a return statement to suppress warnings in NDEBUG builds.
llvm-svn: 58702
Diffstat (limited to 'llvm/lib/VMCore')
| -rw-r--r-- | llvm/lib/VMCore/ValueTypes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/ValueTypes.cpp b/llvm/lib/VMCore/ValueTypes.cpp index d02a538eb24..22449f9040a 100644 --- a/llvm/lib/VMCore/ValueTypes.cpp +++ b/llvm/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". |

