Fix incorrect assertion
This commit is contained in:
3
expr.cpp
3
expr.cpp
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user