Home
last modified time | relevance | path

Searched refs:roots_table (Results 1 – 20 of 20) sorted by relevance

/external/v8/src/snapshot/
Droots-serializer.cc45 RootsTable& roots_table = isolate()->roots_table(); in VisitRootPointers() local
47 roots_table.begin() + static_cast<int>(first_root_to_be_serialized_)) { in VisitRootPointers()
53 size_t root_index = current - roots_table.begin(); in VisitRootPointers()
/external/v8/src/heap/
Dheap-inl.h87 RootsTable& Heap::roots_table() { return isolate()->roots_table(); } in roots_table() function
91 return Type::cast(Object(roots_table()[RootIndex::k##CamelName])); \
104 roots_table()[RootIndex::k##CamelName] = value.ptr(); \
110 roots_table()[RootIndex::kMaterializedObjects] = objects.ptr(); in ROOT_LIST()
114 roots_table()[RootIndex::kScriptList] = value.ptr(); in SetRootScriptList()
118 roots_table()[RootIndex::kMessageListeners] = value.ptr(); in SetMessageListeners()
123 roots_table()[RootIndex::kPendingOptimizeForTestBytecode] = hash_table.ptr(); in SetPendingOptimizeForTestBytecode()
583 FullObjectSlot last_script_id_slot(&roots_table()[RootIndex::kLastScriptId]); in NextScriptId()
Dsetup-heap-internal.cc319 roots_table()[entry.index] = map.ptr(); in CreateInitialMaps()
357 FinalizePartialMap(Map::cast(Object(roots_table()[entry.index]))); in CreateInitialMaps()
410 roots_table()[entry.index] = map.ptr(); in CreateInitialMaps()
704 roots_table()[constant_string_table[i].index] = str->ptr(); in CreateInitialObjects()
772 roots_table()[RootIndex::k##name] = symbol->ptr(); \ in CreateInitialObjects()
784 roots_table()[RootIndex::k##name] = name->ptr(); in CreateInitialObjects()
793 roots_table()[RootIndex::k##name] = name->ptr(); in CreateInitialObjects()
1165 roots_table()[RootIndex::k##AccessorName##Accessor] = accessor_info->ptr(); in CreateInternalAccessorInfoObjects()
1172 Object(roots_table()[RootIndex::k##AccessorName##Accessor])) \ in CreateInternalAccessorInfoObjects()
1175 Object(roots_table()[RootIndex::k##AccessorName##Accessor])) \ in CreateInternalAccessorInfoObjects()
Dread-only-heap.cc158 isolate->roots_table().read_only_roots_begin().location(); in InitializeIsolateRoots()
165 isolate->roots_table().read_only_roots_begin().location(); in InitializeFromIsolateRoots()
Dfactory-inl.h28 return Handle<Type>(&isolate()->roots_table()[RootIndex::k##CamelName]); \
Dread-only-spaces.cc110 isolate->roots_table().read_only_roots_begin().location(); in InitializeRootsFrom()
116 isolate->roots_table().read_only_roots_begin().location(); in InitializeRootsIn()
254 DCHECK_NE(*isolate->roots_table().read_only_roots_begin().location(), 0); in ReinstallReadOnlySpace()
Dheap.cc4288 roots_table().smi_roots_begin(), in IterateSmiRoots()
4289 roots_table().smi_roots_end()); in IterateSmiRoots()
4346 roots_table().strong_roots_begin(), in IterateRoots()
4347 roots_table().strong_roots_end()); in IterateRoots()
Dheap.h876 V8_INLINE RootsTable& roots_table();
Dfactory.cc3446 return isolate()->roots_table()[RootIndex::kempty_string] != kNullAddress; in EmptyStringRootIsInitialized()
/external/v8/src/builtins/
Dconstants-table-builder.cc32 DCHECK(!isolate_->roots_table().IsRootHandle(object, &root_list_index)); in AddObject()
63 DCHECK(!isolate->roots_table().IsRootHandle(replacement_object, in CheckPreconditionsForPatching()
/external/v8/src/roots/
Droots-inl.h66 isolate->roots_table().read_only_roots_begin().address())) {} in ReadOnlyRoots()
/external/v8/src/codegen/
Dturbo-assembler.cc36 if (isolate()->roots_table().IsRootHandle(object, &root_index)) { in IndirectLoadConstant()
/external/v8/src/handles/
Dhandles.cc40 if (isolate->roots_table().IsRootHandleLocation(location_, &root_index) && in IsDereferenceAllowed()
/external/v8/src/execution/
Disolate.h1010 RootsTable& roots_table() { return isolate_data()->roots(); } in roots_table() function
1011 const RootsTable& roots_table() const { return isolate_data()->roots(); } in roots_table() function
1025 Object root(RootIndex index) { return Object(roots_table()[index]); } in root()
1028 return Handle<Object>(&roots_table()[index]); in root_handle()
/external/v8/src/compiler/backend/x64/
Dinstruction-selector-x64.cc2037 const RootsTable& roots_table = selector->isolate()->roots_table(); in VisitWord64EqualImpl() local
2041 roots_table.IsRootHandle(m.right().ResolvedValue(), &root_index)) { in VisitWord64EqualImpl()
2058 const RootsTable& roots_table = selector->isolate()->roots_table(); in VisitWord32EqualImpl() local
2078 if (!right.is_null() && roots_table.IsRootHandle(right, &root_index)) { in VisitWord32EqualImpl()
/external/v8/src/compiler/
Dmemory-lowering.cc473 if (isolate->roots_table().IsRootHandle(HeapConstantOf(value->op()), in ValueNeedsWriteBarrier()
Dsimplified-lowering.cc1351 const RootsTable& roots_table = jsgraph_->isolate()->roots_table(); in WriteBarrierKindFor() local
1352 if (roots_table.IsRootHandle(value_type.AsHeapConstant()->Value(), in WriteBarrierKindFor()
/external/v8/src/compiler/backend/
Dcode-generator.cc568 return isolate()->roots_table().IsRootHandle(object, index_return) && in IsMaterializableFromRoot()
Dinstruction-selector.cc518 if (isolate->roots_table().IsRootHandle(constant, &root_index) && in OperandForDeopt()
/external/v8/src/codegen/ia32/
Dmacro-assembler-ia32.cc196 if (isolate()->roots_table().IsRootHandle(object, &root_index)) { in HeapObjectAsOperand()