Home
last modified time | relevance | path

Searched refs:AsUnion (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/
Dtypes.cc99 for (int i = 0, n = this->AsUnion()->Length(); i < n; ++i) { in Min()
100 min = std::min(min, this->AsUnion()->Get(i)->Min()); in Min()
117 for (int i = 0, n = this->AsUnion()->Length(); i < n; ++i) { in Max()
118 max = std::max(max, this->AsUnion()->Get(i)->Max()); in Max()
142 SLOW_DCHECK(type->AsUnion()->Wellformed()); in Glb()
143 return type->AsUnion()->Get(0)->BitsetGlb() | in Glb()
144 SEMANTIC(type->AsUnion()->Get(1)->BitsetGlb()); // Shortcut. in Glb()
164 int bitset = type->AsUnion()->Get(0)->BitsetLub(); in Lub()
165 for (int i = 0, n = type->AsUnion()->Length(); i < n; ++i) { in Lub()
167 bitset |= SEMANTIC(type->AsUnion()->Get(i)->BitsetLub()); in Lub()
[all …]
Dtypes.h588 UnionType* AsUnion() { return UnionType::cast(this); } in AsUnion() function
/external/v8/test/cctest/
Dtest-types.cc47 static Struct* AsUnion(Type* t) { in AsUnion() function
79 static Struct* AsUnion(Handle<HeapType> t) { return AsStruct(t); } in AsUnion() function
124 this->Length(this->AsUnion(type1)) == in Equal()
125 this->Length(this->AsUnion(type2))); in Equal()