Home
last modified time | relevance | path

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

/third_party/node/deps/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()
/third_party/node/deps/v8/src/heap/
Dheap-inl.h115 RootsTable& Heap::roots_table() { return isolate()->roots_table(); } in roots_table() function
119 return Type::cast(Object(roots_table()[RootIndex::k##CamelName])); \
132 roots_table()[RootIndex::k##CamelName] = value.ptr(); \
138 roots_table()[RootIndex::kMaterializedObjects] = objects.ptr(); in ROOT_LIST()
142 roots_table()[RootIndex::kScriptList] = value.ptr(); in SetRootScriptList()
146 roots_table()[RootIndex::kMessageListeners] = value.ptr(); in SetMessageListeners()
151 roots_table()[RootIndex::kPendingOptimizeForTestBytecode] = hash_table.ptr(); in SetPendingOptimizeForTestBytecode()
506 FullObjectSlot last_script_id_slot(&roots_table()[RootIndex::kLastScriptId]); in NextScriptId()
Dsetup-heap-internal.cc315 roots_table()[entry.index] = map.ptr(); in CreateInitialMaps()
353 FinalizePartialMap(Map::cast(Object(roots_table()[entry.index]))); in CreateInitialMaps()
407 roots_table()[entry.index] = map.ptr(); in CreateInitialMaps()
697 roots_table()[constant_string_table[i].index] = str->ptr(); in CreateInitialObjects()
765 roots_table()[RootIndex::k##name] = symbol->ptr(); \ in CreateInitialObjects()
777 roots_table()[RootIndex::k##name] = name->ptr(); in CreateInitialObjects()
786 roots_table()[RootIndex::k##name] = name->ptr(); in CreateInitialObjects()
1079 roots_table()[RootIndex::k##AccessorName##Accessor] = accessor_info->ptr(); in CreateInternalAccessorInfoObjects()
1086 Object(roots_table()[RootIndex::k##AccessorName##Accessor])) \ in CreateInternalAccessorInfoObjects()
1089 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.cc126 isolate->roots_table().read_only_roots_begin().location(); in InitializeRootsFrom()
132 isolate->roots_table().read_only_roots_begin().location(); in InitializeRootsIn()
270 DCHECK_NE(*isolate->roots_table().read_only_roots_begin().location(), 0); in ReinstallReadOnlySpace()
Dheap.cc4896 roots_table().smi_roots_begin(), in IterateSmiRoots()
4897 roots_table().smi_roots_end()); in IterateSmiRoots()
4979 roots_table().strong_roots_begin(), in IterateRoots()
4980 roots_table().strong_roots_end()); in IterateRoots()
Dheap.h903 V8_INLINE RootsTable& roots_table();
Dfactory.cc3920 return isolate()->roots_table()[RootIndex::kempty_string] != kNullAddress; in EmptyStringRootIsInitialized()
/third_party/node/deps/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()
/third_party/node/deps/v8/src/roots/
Droots-inl.h66 isolate->roots_table().read_only_roots_begin().address())) {} in ReadOnlyRoots()
/third_party/node/deps/v8/src/codegen/
Dturbo-assembler.cc51 if (isolate()->roots_table().IsRootHandle(object, &root_index)) { in IndirectLoadConstant()
/third_party/node/deps/v8/src/runtime/
Druntime-wasm.cc731 *isolate->roots_table().slot(RootIndex::kActiveContinuation)); in SyncStackLimit()
751 *isolate->roots_table().slot(RootIndex::kActiveContinuation)), in RUNTIME_FUNCTION()
758 isolate->roots_table().slot(RootIndex::kActiveContinuation).store(*target); in RUNTIME_FUNCTION()
762 isolate->roots_table().slot(RootIndex::kActiveSuspender); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/handles/
Dhandles.cc46 if (isolate->roots_table().IsRootHandleLocation(location_, &root_index) && in IsDereferenceAllowed()
/third_party/node/deps/v8/src/execution/
Disolate-data.h44 roots_table) \
Disolate.h1174 RootsTable& roots_table() { return isolate_data()->roots(); } in roots_table() function
1175 const RootsTable& roots_table() const { return isolate_data()->roots(); } in roots_table() function
1189 Object root(RootIndex index) const { return Object(roots_table()[index]); } in root()
1192 return Handle<Object>(&roots_table()[index]); in root_handle()
Disolate.cc4218 ->roots_table() in ThrowInternal()
/third_party/node/deps/v8/src/compiler/backend/x64/
Dinstruction-selector-x64.cc2310 const RootsTable& roots_table = selector->isolate()->roots_table(); in VisitWord64EqualImpl() local
2314 roots_table.IsRootHandle(m.right().ResolvedValue(), &root_index)) { in VisitWord64EqualImpl()
2331 const RootsTable& roots_table = selector->isolate()->roots_table(); in VisitWord32EqualImpl() local
2351 if (!right.is_null() && roots_table.IsRootHandle(right, &root_index)) { in VisitWord32EqualImpl()
/third_party/node/deps/v8/src/compiler/
Dmemory-lowering.cc614 if (isolate->roots_table().IsRootHandle(HeapConstantOf(value->op()), in ValueNeedsWriteBarrier()
Dsimplified-lowering.cc1487 const RootsTable& roots_table = jsgraph_->isolate()->roots_table(); in WriteBarrierKindFor() local
1488 if (roots_table.IsRootHandle(value_type.AsHeapConstant()->Value(), in WriteBarrierKindFor()
/third_party/node/deps/v8/src/compiler/backend/
Dcode-generator.cc534 return isolate()->roots_table().IsRootHandle(object, index_return) && in IsMaterializableFromRoot()
Dinstruction-selector.cc523 if (isolate->roots_table().IsRootHandle(constant, &root_index) && in OperandForDeopt()
/third_party/node/deps/v8/src/codegen/ia32/
Dmacro-assembler-ia32.cc251 if (isolate()->roots_table().IsRootHandle(object, &root_index)) { in HeapObjectAsOperand()