Home
last modified time | relevance | path

Searched refs:root_index (Results 1 - 25 of 31) sorted by relevance

12

/third_party/node/deps/v8/src/utils/
H A Daddress-map.cc18 for (RootIndex root_index = RootIndex::kFirstStrongOrReadOnlyRoot; in RootIndexMap()
19 root_index <= RootIndex::kLastStrongOrReadOnlyRoot; ++root_index) { in RootIndexMap()
20 Object root = isolate->root(root_index); in RootIndexMap()
26 if (RootsTable::IsImmortalImmovable(root_index)) { in RootIndexMap()
29 uint32_t index = static_cast<uint32_t>(root_index); in RootIndexMap()
/third_party/node/deps/v8/src/snapshot/
H A Droots-serializer.h33 bool root_has_been_serialized(RootIndex root_index) const { in root_has_been_serialized()
34 return root_has_been_serialized_.test(static_cast<size_t>(root_index)); in root_has_been_serialized()
38 RootIndex root_index; in IsRootAndHasBeenSerialized() local
39 return root_index_map()->Lookup(obj, &root_index) && in IsRootAndHasBeenSerialized()
40 root_has_been_serialized(root_index); in IsRootAndHasBeenSerialized()
H A Droots-serializer.cc53 size_t root_index = current - roots_table.begin(); in VisitRootPointers() local
54 root_has_been_serialized_.set(root_index); in VisitRootPointers()
H A Dserializer.cc175 RootIndex root_index; in SerializeRoot() local
178 if (root_index_map()->Lookup(obj, &root_index)) { in SerializeRoot()
179 PutRoot(root_index); in SerializeRoot()
245 int root_index = static_cast<int>(root); in PutRoot() local
248 PrintF(" Encoding root %d:", root_index); in PutRoot()
259 if (root_index < kRootArrayConstantsCount && in PutRoot()
264 sink_.PutInt(root_index, "root_index"); in PutRoot()
910 RootIndex root_index; in VisitPointers() local
916 serializer_->root_index_map()->Lookup(*obj, &root_index) in VisitPointers()
[all...]
H A Ddeserializer.cc973 RootIndex root_index = static_cast<RootIndex>(id); in ReadSingleBytecodeData() local
975 Handle<HeapObject>::cast(isolate()->root_handle(root_index)); in ReadSingleBytecodeData()
1238 RootIndex root_index = RootArrayConstant::Decode(data); in ReadSingleBytecodeData() local
1240 Handle<HeapObject>::cast(isolate()->root_handle(root_index)); in ReadSingleBytecodeData()
H A Dserializer.h234 void PutRoot(RootIndex root_index);
/third_party/node/deps/v8/src/codegen/
H A Dturbo-assembler.cc50 RootIndex root_index; in IndirectLoadConstant() local
51 if (isolate()->roots_table().IsRootHandle(object, &root_index)) { in IndirectLoadConstant()
53 LoadRoot(destination, root_index); in IndirectLoadConstant()
95 RootIndex root_index) { in RootRegisterOffsetForRootIndex()
96 return IsolateData::root_slot_offset(root_index); in RootRegisterOffsetForRootIndex()
94 RootRegisterOffsetForRootIndex( RootIndex root_index) RootRegisterOffsetForRootIndex() argument
H A Dturbo-assembler.h81 static int32_t RootRegisterOffsetForRootIndex(RootIndex root_index);
/third_party/node/deps/v8/src/handles/
H A Dhandles.cc45 RootIndex root_index; in IsDereferenceAllowed() local
46 if (isolate->roots_table().IsRootHandleLocation(location_, &root_index) && in IsDereferenceAllowed()
47 RootsTable::IsImmortalImmovable(root_index)) { in IsDereferenceAllowed()
187 RootIndex root_index; in Lookup() local
188 if (root_index_map_->Lookup(object, &root_index)) { in Lookup()
189 return isolate_->root_handle(root_index).location(); in Lookup()
/third_party/node/deps/v8/src/roots/
H A Droots-inl.h93 Address* ReadOnlyRoots::GetLocation(RootIndex root_index) const { in GetLocation()
94 size_t index = static_cast<size_t>(root_index); in GetLocation()
99 Address ReadOnlyRoots::at(RootIndex root_index) const { in at()
100 return *GetLocation(root_index); in at()
H A Droots.h449 Address const& operator[](RootIndex root_index) const { in operator []()
450 size_t index = static_cast<size_t>(root_index); in operator []()
455 FullObjectSlot slot(RootIndex root_index) { in slot() argument
456 size_t index = static_cast<size_t>(root_index); in slot()
461 static const char* name(RootIndex root_index) { in name() argument
462 size_t index = static_cast<size_t>(root_index); in name()
467 static constexpr int offset_of(RootIndex root_index) { in offset_of() argument
468 return static_cast<int>(root_index) * kSystemPointerSize; in offset_of()
477 static constexpr bool IsImmortalImmovable(RootIndex root_index) { in IsImmortalImmovable() argument
480 return static_cast<unsigned>(root_index) < in IsImmortalImmovable()
534 operator [](RootIndex root_index) operator []() argument
[all...]
/third_party/node/deps/v8/src/execution/
H A Dprotectors-inl.h15 #define DEFINE_PROTECTOR_ON_ISOLATE_CHECK(name, root_index, unused_cell) \
18 PropertyCell::cast(isolate->root(RootIndex::k##root_index)); \
H A Disolate-data.h92 static constexpr int root_slot_offset(RootIndex root_index) { in root_slot_offset() argument
93 return roots_table_offset() + RootsTable::offset_of(root_index); in root_slot_offset()
/third_party/node/deps/v8/include/
H A Dv8-function-callback.h325 int root_index; in Set() local
327 root_index = I::kTrueValueRootIndex; in Set()
329 root_index = I::kFalseValueRootIndex; in Set()
331 *value_ = *I::GetRoot(GetIsolate(), root_index); in Set()
/third_party/node/deps/v8/include/v8-include/
H A Dv8-function-callback.h347 int root_index; in Set() local
349 root_index = I::kTrueValueRootIndex; in Set()
351 root_index = I::kFalseValueRootIndex; in Set()
353 *value_ = I::GetRoot(GetIsolate(), root_index); in Set()
/third_party/node/deps/v8/src/compiler/
H A Dcode-assembler.cc726 TNode<AnyTaggedT> CodeAssembler::LoadRootMapWord(RootIndex root_index) { in LoadRootMapWord() argument
728 Handle<Object> root = isolate()->root_handle(root_index); in LoadRootMapWord()
733 return LoadRoot(root_index); in LoadRootMapWord()
737 TNode<Object> CodeAssembler::LoadRoot(RootIndex root_index) { in LoadRoot() argument
738 if (RootsTable::IsImmortalImmovable(root_index)) { in LoadRoot()
739 Handle<Object> root = isolate()->root_handle(root_index); in LoadRoot()
752 int offset = IsolateData::root_slot_offset(root_index); in LoadRoot()
951 void CodeAssembler::StoreRoot(RootIndex root_index, TNode<Object> value) { in StoreRoot() argument
952 DCHECK(!RootsTable::IsImmortalImmovable(root_index)); in StoreRoot()
955 int offset = IsolateData::root_slot_offset(root_index); in StoreRoot()
[all...]
H A Djs-heap-broker.h265 RootIndex root_index; in CanonicalPersistentHandle() local
266 if (root_index_map_.Lookup(address, &root_index)) { in CanonicalPersistentHandle()
267 return Handle<T>(isolate_->root_handle(root_index).location()); in CanonicalPersistentHandle()
H A Dmemory-lowering.cc613 RootIndex root_index; in ValueNeedsWriteBarrier() local
615 &root_index) && in ValueNeedsWriteBarrier()
616 RootsTable::IsImmortalImmovable(root_index)) { in ValueNeedsWriteBarrier()
H A Dcode-assembler.h772 TNode<Object> LoadRoot(RootIndex root_index);
773 TNode<AnyTaggedT> LoadRootMapWord(RootIndex root_index);
877 void StoreRoot(RootIndex root_index, TNode<Object> value);
/third_party/node/deps/v8/src/diagnostics/
H A Ddisassembler.cc144 RootIndex root_index = in RootRelativeName()
147 SNPrintF(v8_buffer_, "root (%s)", RootsTable::name(root_index)); in RootRelativeName()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-repacker.hh346 unsigned root_index = root_idx (); in assign_32bit_spaces() local
349 for (unsigned i = 0; i <= root_index; i++) in assign_32bit_spaces()
/third_party/node/deps/v8/src/codegen/ia32/
H A Dmacro-assembler-ia32.cc250 RootIndex root_index; in HeapObjectAsOperand() local
251 if (isolate()->roots_table().IsRootHandle(object, &root_index)) { in HeapObjectAsOperand()
252 return RootAsOperand(root_index); in HeapObjectAsOperand()
/third_party/node/deps/v8/src/profiler/
H A Dheap-snapshot-generator.cc2270 for (RootIndex root_index = RootIndex::kFirstStrongOrReadOnlyRoot; in GetStrongGcSubrootName()
2271 root_index <= RootIndex::kLastStrongOrReadOnlyRoot; ++root_index) { in GetStrongGcSubrootName()
2272 const char* name = RootsTable::name(root_index); in GetStrongGcSubrootName()
2273 strong_gc_subroot_names_.emplace(isolate->root(root_index), name); in GetStrongGcSubrootName()
/third_party/node/deps/v8/src/compiler/backend/x64/
H A Dinstruction-selector-x64.cc2311 RootIndex root_index; in VisitWord64EqualImpl() local
2314 roots_table.IsRootHandle(m.right().ResolvedValue(), &root_index)) { in VisitWord64EqualImpl()
2320 TurboAssemblerBase::RootRegisterOffsetForRootIndex(root_index)), in VisitWord64EqualImpl()
2332 RootIndex root_index; in VisitWord32EqualImpl() local
2351 if (!right.is_null() && roots_table.IsRootHandle(right, &root_index)) { in VisitWord32EqualImpl()
2358 TurboAssemblerBase::RootRegisterOffsetForRootIndex(root_index)), in VisitWord32EqualImpl()
/third_party/node/deps/v8/src/objects/
H A Dordered-hash-table.cc49 Isolate* isolate, AllocationType allocation, RootIndex root_index) { in AllocateEmpty()
53 DCHECK(ReadOnlyRoots(isolate).at(root_index) == kNullAddress); in AllocateEmpty()
48 AllocateEmpty( Isolate* isolate, AllocationType allocation, RootIndex root_index) AllocateEmpty() argument

Completed in 41 milliseconds

12