Home
last modified time | relevance | path

Searched defs:HeapRep (Results 1 – 1 of 1) sorted by relevance

/external/v8/test/cctest/
Dtest-types.cc65 struct HeapRep { struct
66 typedef FixedArray Struct;
68 static bool IsStruct(Handle<HeapType> t, int tag) { in IsStruct()
71 static bool IsBitset(Handle<HeapType> t) { return t->IsSmi(); } in IsBitset()
73 static bool IsUnion(Handle<HeapType> t) { return t->IsUnionForTesting(); } in IsUnion()
75 static Struct* AsStruct(Handle<HeapType> t) { return FixedArray::cast(*t); } in AsStruct()
76 static bitset AsBitset(Handle<HeapType> t) { in AsBitset()
79 static Struct* AsUnion(Handle<HeapType> t) { return AsStruct(t); } in AsUnion()
80 static int Length(Struct* structured) { return structured->length() - 1; } in Length()
82 static Isolate* ToRegion(Zone* zone, Isolate* isolate) { return isolate; } in ToRegion()
[all …]