Home
last modified time | relevance | path

Searched refs:AstUnionType (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/ast/
Dast-types.h479 friend class AstUnionType; variable
671 class AstUnionType : public AstStructuralType {
676 AstUnionType(int length, Zone* zone) in AstUnionType() function
680 return AsType(new (zone->New(sizeof(AstUnionType))) in New()
681 AstUnionType(length, zone)); in New()
684 static AstUnionType* cast(AstType* type) { in cast()
686 return static_cast<AstUnionType*>(FromType(type)); in cast()
898 AstUnionType* AsUnionForTesting() { return AsUnion(); } in AsUnionForTesting()
905 friend AstUnionType; variable
921 AstUnionType* AsUnion() { return AstUnionType::cast(this); } in AsUnion()
[all …]
Dast-types.cc697 bool AstUnionType::Wellformed() { in Wellformed()
774 AstType* result_type = AstUnionType::New(size, zone); in Intersect()
775 AstUnionType* result = result_type->AsUnion(); in Intersect()
798 int AstType::UpdateRange(AstType* range, AstUnionType* result, int size, in UpdateRange()
838 int AstType::IntersectAux(AstType* lhs, AstType* rhs, AstUnionType* result, in IntersectAux()
976 AstType* result_type = AstUnionType::New(size, zone); in Union()
977 AstUnionType* result = result_type->AsUnion(); in Union()
1010 int AstType::AddToUnion(AstType* type, AstUnionType* result, int size, in AddToUnion()
1027 AstUnionType* unioned = union_type->AsUnion(); in NormalizeUnion()