Use Assert() rather than assert()

This commit is contained in:
Matt Pharr
2012-01-08 13:30:45 -08:00
parent 5b4dbc8167
commit ff6971fb15
5 changed files with 5 additions and 6 deletions

View File

@@ -109,7 +109,7 @@ InitLLVMUtil(llvm::LLVMContext *ctx, Target target) {
LLVMTypes::MaskType = LLVMTypes::BoolVectorType =
llvm::VectorType::get(llvm::Type::getInt1Ty(*ctx), target.vectorWidth);
else {
assert(target.maskBitCount == 32);
Assert(target.maskBitCount == 32);
LLVMTypes::MaskType = LLVMTypes::BoolVectorType =
llvm::VectorType::get(llvm::Type::getInt32Ty(*ctx), target.vectorWidth);
}