OSDN Git Service

fix typo
authorChris Lattner <sabre@nondot.org>
Sun, 8 Mar 2009 04:06:26 +0000 (04:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Mar 2009 04:06:26 +0000 (04:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66367 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Constants.cpp

index f75fb63..0be2811 100644 (file)
@@ -1995,7 +1995,7 @@ Constant *ConstantExpr::getBitCast(Constant *C, const Type *DstTy) {
   unsigned SrcBitSize = SrcTy->getPrimitiveSizeInBits();
   unsigned DstBitSize = DstTy->getPrimitiveSizeInBits();
 #endif
-  assert(SrcBitSize == DstBitSize && "BitCast requies types of same width");
+  assert(SrcBitSize == DstBitSize && "BitCast requires types of same width");
   return getFoldedCast(Instruction::BitCast, C, DstTy);
 }