Home
last modified time | relevance | path

Searched refs:kSlotDataSize (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/objects/
Dslots.h22 static constexpr size_t kSlotDataSize = sizeof(Data); variable
26 ptr_ += kSlotDataSize;
31 ptr_ += kSlotDataSize;
35 ptr_ -= kSlotDataSize;
40 ptr_ -= kSlotDataSize;
52 return static_cast<size_t>((ptr_ - other.ptr_) / kSlotDataSize);
54 Subclass operator-(int i) const { return Subclass(ptr_ - i * kSlotDataSize); }
55 Subclass operator+(int i) const { return Subclass(ptr_ + i * kSlotDataSize); }
57 return Subclass(slot.ptr_ + i * kSlotDataSize);
60 ptr_ += i * kSlotDataSize;
[all …]
/external/v8/src/snapshot/
Ddeserializer.cc195 STATIC_ASSERT(IsAligned(kSystemPointerSize, TSlot::kSlotDataSize)); in WriteAddress()
196 return (kSystemPointerSize / TSlot::kSlotDataSize); in WriteAddress()
204 STATIC_ASSERT(IsAligned(kExternalPointerSize, TSlot::kSlotDataSize)); in WriteExternalPointer()
205 return (kExternalPointerSize / TSlot::kSlotDataSize); in WriteExternalPointer()
933 DCHECK_EQ(TSlot::kSlotDataSize, kTaggedSize); in ReadSingleBytecodeData()
945 DCHECK_EQ(TSlot::kSlotDataSize, kTaggedSize); in ReadSingleBytecodeData()
1069 STATIC_ASSERT(TSlot::kSlotDataSize == kTaggedSize || in ReadSingleBytecodeData()
1070 TSlot::kSlotDataSize == 2 * kTaggedSize); in ReadSingleBytecodeData()
1071 int size_in_slots = size_in_tagged / (TSlot::kSlotDataSize / kTaggedSize); in ReadSingleBytecodeData()
1075 DCHECK_IMPLIES(kTaggedSize != TSlot::kSlotDataSize, size_in_slots == 1); in ReadSingleBytecodeData()
Dserializer.cc255 STATIC_ASSERT(decltype(slot)::kSlotDataSize == sizeof(Address)); in PutSmiRoot()
256 STATIC_ASSERT(decltype(slot)::kSlotDataSize == kSystemPointerSize); in PutSmiRoot()
257 static constexpr int bytes_to_output = decltype(slot)::kSlotDataSize; in PutSmiRoot()