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) if (vt != NULL)
return new VectorType(boolBase, vt->GetElementCount()); return new VectorType(boolBase, vt->GetElementCount());
else { else {
Assert(CastType<AtomicType>(type) != NULL || Assert(Type::IsBasicType(type));
CastType<PointerType>(type) != NULL);
return boolBase; return boolBase;
} }
} }