llvm-svn: 66367
This commit is contained in:
Chris Lattner 2009-03-08 04:06:26 +00:00
parent c009757761
commit e408601cec
1 changed files with 1 additions and 1 deletions

View 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);
}