/third_party/node/deps/v8/src/utils/ |
H A D | address-map.cc | 18 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 D | roots-serializer.h | 33 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 D | roots-serializer.cc | 53 size_t root_index = current - roots_table.begin(); in VisitRootPointers() local 54 root_has_been_serialized_.set(root_index); in VisitRootPointers()
|
H A D | serializer.cc | 175 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 D | deserializer.cc | 973 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 D | serializer.h | 234 void PutRoot(RootIndex root_index);
|
/third_party/node/deps/v8/src/codegen/ |
H A D | turbo-assembler.cc | 50 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 D | turbo-assembler.h | 81 static int32_t RootRegisterOffsetForRootIndex(RootIndex root_index);
|
/third_party/node/deps/v8/src/handles/ |
H A D | handles.cc | 45 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 D | roots-inl.h | 93 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 D | roots.h | 449 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 D | protectors-inl.h | 15 #define DEFINE_PROTECTOR_ON_ISOLATE_CHECK(name, root_index, unused_cell) \ 18 PropertyCell::cast(isolate->root(RootIndex::k##root_index)); \
|
H A D | isolate-data.h | 92 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 D | v8-function-callback.h | 325 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 D | v8-function-callback.h | 347 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 D | code-assembler.cc | 726 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 D | js-heap-broker.h | 265 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 D | memory-lowering.cc | 613 RootIndex root_index; in ValueNeedsWriteBarrier() local 615 &root_index) && in ValueNeedsWriteBarrier() 616 RootsTable::IsImmortalImmovable(root_index)) { in ValueNeedsWriteBarrier()
|
H A D | code-assembler.h | 772 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 D | disassembler.cc | 144 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 D | hb-repacker.hh | 346 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 D | macro-assembler-ia32.cc | 250 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 D | heap-snapshot-generator.cc | 2270 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 D | instruction-selector-x64.cc | 2311 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 D | ordered-hash-table.cc | 49 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
|