Searched refs:AstUnionType (Results 1 – 2 of 2) sorted by relevance
/external/v8/src/ast/ |
D | ast-types.h | 481 friend class AstUnionType; variable 673 class AstUnionType : public AstStructuralType { 678 AstUnionType(int length, Zone* zone) in AstUnionType() function 682 return AsType(new (zone->New(sizeof(AstUnionType))) in New() 683 AstUnionType(length, zone)); in New() 686 static AstUnionType* cast(AstType* type) { in cast() 688 return static_cast<AstUnionType*>(FromType(type)); in cast() 905 AstUnionType* AsUnionForTesting() { return AsUnion(); } in AsUnionForTesting() 912 friend AstUnionType; variable 928 AstUnionType* AsUnion() { return AstUnionType::cast(this); } in AsUnion() [all …]
|
D | ast-types.cc | 696 bool AstUnionType::Wellformed() { in Wellformed() 773 AstType* result_type = AstUnionType::New(size, zone); in Intersect() 774 AstUnionType* result = result_type->AsUnion(); in Intersect() 797 int AstType::UpdateRange(AstType* range, AstUnionType* result, int size, in UpdateRange() 837 int AstType::IntersectAux(AstType* lhs, AstType* rhs, AstUnionType* result, in IntersectAux() 975 AstType* result_type = AstUnionType::New(size, zone); in Union() 976 AstUnionType* result = result_type->AsUnion(); in Union() 1009 int AstType::AddToUnion(AstType* type, AstUnionType* result, int size, in AddToUnion() 1026 AstUnionType* unioned = union_type->AsUnion(); in NormalizeUnion()
|