Fix incorrect assertion

This commit is contained in:
Matt Pharr
2012-08-01 08:11:08 -07:00
parent 63ed90b0fd
commit bda566d6a7

View File

@@ -810,8 +810,7 @@ lMatchingBoolType(const Type *type) {
if (vt != NULL)
return new VectorType(boolBase, vt->GetElementCount());
else {
Assert(CastType<AtomicType>(type) != NULL ||
CastType<PointerType>(type) != NULL);
Assert(Type::IsBasicType(type));
return boolBase;
}
}