Home
last modified time | relevance | path

Searched refs:roots_ (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/heap/
Dheap.h768 type* name() { return type::cast(roots_[k##camel_name##RootIndex]); } \
770 return reinterpret_cast<type*>(roots_[k##camel_name##RootIndex]); \
777 Map* name##_map() { return Map::cast(roots_[k##Name##MapRootIndex]); }
782 String* name() { return String::cast(roots_[k##name##RootIndex]); } in STRUCT_LIST()
868 roots_[kCodeStubsRootIndex] = value; in public_set_code_stubs()
880 roots_[kNonMonomorphicCacheRootIndex] = value; in public_set_non_monomorphic_cache()
884 roots_[kEmptyScriptRootIndex] = script; in public_set_empty_script()
888 roots_[kStoreBufferTopRootIndex] = reinterpret_cast<Smi*>(top); in public_set_store_buffer_top()
892 roots_[kMaterializedObjectsRootIndex] = objects; in public_set_materialized_objects()
896 Object** roots_array_start() { return roots_; } in roots_array_start()
[all …]
Dheap.cc147 memset(roots_, 0, sizeof(roots_[0]) * kRootListLength); in Heap()
2517 roots_[entry.index] = map; in CreateInitialMaps()
2557 roots_[entry.index] = map; in CreateInitialMaps()
2801 roots_[constant_string_table[i].index] = *str; in CreateInitialObjects()
3097 return Map::cast(roots_[RootIndexForExternalArrayType(array_type)]); in MapForExternalArrayType()
3119 return Map::cast(roots_[RootIndexForFixedTypedArray(array_type)]); in MapForFixedTypedArray()
3175 roots_[RootIndexForEmptyExternalArray(map->elements_kind())]); in EmptyExternalArrayForMap()
3181 roots_[RootIndexForEmptyFixedTypedArray(map->elements_kind())]); in EmptyFixedTypedArrayForMap()
4729 v->VisitPointer(reinterpret_cast<Object**>(&roots_[kStringTableRootIndex])); in IterateWeakRoots()
4742 v->VisitPointers(&roots_[kSmiRootsStart], &roots_[kRootListLength]); in IterateSmiRoots()
[all …]
/external/v8/src/
Dfactory.h570 &isolate()->heap()->roots_[Heap::k##camel_name##RootIndex])); \
578 &isolate()->heap()->roots_[Heap::k##Name##MapRootIndex])); \
586 &isolate()->heap()->roots_[Heap::k##name##RootIndex])); \ in STRUCT_LIST()
Disolate.cc1999 CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)), in Init()