/external/v8/src/objects/ |
D | maybe-object-inl.h | 15 bool MaybeObject::ToSmi(Smi** value) { in ToSmi() 23 Smi* MaybeObject::ToSmi() { in ToSmi() 28 bool MaybeObject::IsStrongOrWeakHeapObject() const { in IsStrongOrWeakHeapObject() 35 bool MaybeObject::ToStrongOrWeakHeapObject(HeapObject** result) { in ToStrongOrWeakHeapObject() 43 bool MaybeObject::ToStrongOrWeakHeapObject( in ToStrongOrWeakHeapObject() 55 bool MaybeObject::IsStrongHeapObject() const { in IsStrongHeapObject() 59 bool MaybeObject::ToStrongHeapObject(HeapObject** result) { in ToStrongHeapObject() 67 HeapObject* MaybeObject::ToStrongHeapObject() { in ToStrongHeapObject() 72 bool MaybeObject::IsWeakHeapObject() const { in IsWeakHeapObject() 76 bool MaybeObject::IsWeakOrClearedHeapObject() const { in IsWeakOrClearedHeapObject() [all …]
|
D | maybe-object.h | 22 class MaybeObject { 51 static MaybeObject* FromSmi(Smi* smi) { in FromSmi() 53 return reinterpret_cast<MaybeObject*>(smi); in FromSmi() 56 static MaybeObject* FromObject(Object* object) { in FromObject() 58 return reinterpret_cast<MaybeObject*>(object); in FromObject() 61 static inline MaybeObject* MakeWeak(MaybeObject* object); 64 static void VerifyMaybeObjectPointer(Isolate* isolate, MaybeObject* p); 84 DISALLOW_IMPLICIT_CONSTRUCTORS(MaybeObject); 89 class HeapObjectReference : public MaybeObject {
|
D | descriptor-array.h | 74 inline MaybeObject* GetValue(int descriptor_number); 75 inline MaybeObject** GetValueSlot(int descriptor_number); 77 inline MaybeObject** GetDescriptorStartSlot(int descriptor_number); 78 inline MaybeObject** GetDescriptorEndSlot(int descriptor_number); 89 inline void Set(int descriptor_number, Name* key, MaybeObject* value, 190 inline MaybeObject* get(int index) const; 191 inline void set(int index, MaybeObject* value);
|
D | data-handler.h | 34 DECL_ACCESSORS(data1, MaybeObject) 35 DECL_ACCESSORS(data2, MaybeObject) 36 DECL_ACCESSORS(data3, MaybeObject)
|
D | prototype-info-inl.h | 33 MaybeObject* cache = object_create_map(); in HasObjectCreateMap() 49 array->Set(index, MaybeObject::FromObject(empty_slot_index(array))); in ACCESSORS() 58 array->Set(kEmptySlotIndex, MaybeObject::FromObject(Smi::FromInt(index))); in set_empty_slot_index()
|
D | fixed-array.h | 272 inline MaybeObject* Get(int index) const; 275 inline void Set(int index, MaybeObject* value); 278 inline void Set(int index, MaybeObject* value, WriteBarrierMode mode); 291 inline MaybeObject** data_start(); 293 inline MaybeObject** RawFieldOfElementAt(int index); 295 inline MaybeObject** GetFirstElementAddress(); 339 inline MaybeObject* Get(int index) const; 344 inline void Set(int index, MaybeObject* value, 352 inline MaybeObject** data_start();
|
/external/v8/src/snapshot/ |
D | deserializer.cc | 78 ReadData(reinterpret_cast<MaybeObject**>(start), in VisitRootPointers() 79 reinterpret_cast<MaybeObject**>(end), NEW_SPACE, kNullAddress); in VisitRootPointers() 107 MaybeObject** start = in DeserializeDeferredObjects() 108 reinterpret_cast<MaybeObject**>(obj_address + kPointerSize); in DeserializeDeferredObjects() 109 MaybeObject** end = reinterpret_cast<MaybeObject**>(obj_address + size); in DeserializeDeferredObjects() 333 int space_number, MaybeObject** write_back, in ReadObject() 342 MaybeObject** current = reinterpret_cast<MaybeObject**>(address); in ReadObject() 343 MaybeObject** limit = current + (size >> kPointerSizeLog2); in ReadObject() 350 MaybeObject* write_back_obj = in ReadObject() 366 MaybeObject* o; in ReadDataSingle() [all …]
|
D | deserializer.h | 115 bool ReadData(MaybeObject** start, MaybeObject** end, int space, 121 inline MaybeObject** ReadDataCase(Isolate* isolate, MaybeObject** current, 130 void ReadObject(int space_number, MaybeObject** write_back,
|
/external/v8/src/ |
D | feedback-vector-inl.h | 118 MaybeObject* slot = optimized_code_weak_or_smi(); in optimized_code() 127 MaybeObject* slot = optimized_code_weak_or_smi(); in optimization_marker() 149 MaybeObject* FeedbackVector::Get(FeedbackSlot slot) const { in Get() 153 MaybeObject* FeedbackVector::get(int index) const { in get() 160 void FeedbackVector::Set(FeedbackSlot slot, MaybeObject* value, in Set() 165 void FeedbackVector::set(int index, MaybeObject* value, WriteBarrierMode mode) { in set() 175 set(GetIndex(slot), MaybeObject::FromObject(value), mode); in Set() 179 set(index, MaybeObject::FromObject(value), mode); in set() 182 inline MaybeObject** FeedbackVector::slots_start() { in slots_start() 253 MaybeObject* megamorphic_sentinel = MaybeObject::FromObject( in ComputeCounts() [all …]
|
D | feedback-vector.cc | 43 static bool IsPropertyNameFeedback(MaybeObject* feedback) { in IsPropertyNameFeedback() 216 MaybeObject::FromSmi(Smi::FromEnum( in New() 324 set_optimized_code_weak_or_smi(MaybeObject::FromSmi(Smi::FromEnum(marker))); in SetOptimizationMarker() 329 MaybeObject* slot = optimized_code_weak_or_smi(); in EvictOptimizedCodeMarkedForDeoptimization() 356 MaybeObject* uninitialized_sentinel = MaybeObject::FromObject( in ClearSlots() 364 MaybeObject* obj = Get(slot); in ClearSlots() 373 void FeedbackVector::AssertNoLegacyTypes(MaybeObject* object) { in AssertNoLegacyTypes() 513 MaybeObject* sentinel = in ConfigureMegamorphic() 514 MaybeObject::FromObject(*FeedbackVector::MegamorphicSentinel(isolate)); in ConfigureMegamorphic() 528 MaybeObject* sentinel = in ConfigureMegamorphic() [all …]
|
D | transitions-inl.h | 28 return Get(kPrototypeTransitionsIndex) != MaybeObject::FromSmi(Smi::kZero); in CAST_ACCESSOR() 53 MaybeObject* raw = in NumberOfPrototypeTransitions() 102 Map* TransitionsAccessor::GetTargetFromRaw(MaybeObject* raw) { in GetTargetFromRaw() 106 MaybeObject* TransitionArray::GetRawTarget(int transition_number) { in GetRawTarget() 112 MaybeObject* raw = GetRawTarget(transition_number); in GetTarget() 130 void TransitionArray::SetRawTarget(int transition_number, MaybeObject* value) { in SetRawTarget() 138 MaybeObject* raw = GetRawTarget(transition_number); in GetTargetIfExists() 196 MaybeObject* target) { in Set() 198 MaybeObject::FromObject(key)); in Set() 211 MaybeObject::FromSmi(Smi::FromInt(number_of_transitions))); in SetNumberOfTransitions()
|
D | maybe-handles-inl.h | 23 MaybeObjectHandle::MaybeObjectHandle(MaybeObject* object, Isolate* isolate) { in MaybeObjectHandle() 59 MaybeObject* MaybeObjectHandle::operator*() const { 63 return MaybeObject::FromObject(*handle_.ToHandleChecked()); 67 MaybeObject* MaybeObjectHandle::operator->() const { 71 return MaybeObject::FromObject(*handle_.ToHandleChecked()); 79 inline MaybeObjectHandle handle(MaybeObject* object, Isolate* isolate) { in handle()
|
D | transitions.cc | 72 ReplaceTransitions(MaybeObject::FromObject(*result)); in Insert() 109 ReplaceTransitions(MaybeObject::FromObject(*result)); in Insert() 207 ReplaceTransitions(MaybeObject::FromObject(*result)); in Insert() 320 MaybeObject* target = array->Get(header + i); in CompactPrototypeTransitionArray() 331 MaybeObject* undefined = in CompactPrototypeTransitionArray() 332 MaybeObject::FromObject(*isolate->factory()->undefined_value()); in CompactPrototypeTransitionArray() 400 MaybeObject* target = in GetPrototypeTransition() 426 MaybeObject::FromSmi(Smi::FromInt(value))); in SetNumberOfPrototypeTransitions() 446 MaybeObject::FromObject(ReadOnlyRoots(isolate).the_hole_value()), in Zap() 451 void TransitionsAccessor::ReplaceTransitions(MaybeObject* new_transitions) { in ReplaceTransitions() [all …]
|
D | transitions.h | 156 static inline Map* GetTargetFromRaw(MaybeObject* raw); 169 void ReplaceTransitions(MaybeObject* new_transitions); 185 MaybeObject* raw_transitions_; 219 inline void SetRawTarget(int transition_number, MaybeObject* target); 220 inline MaybeObject* GetRawTarget(int transition_number); 340 inline void Set(int transition_number, Name* key, MaybeObject* target);
|
D | visitors.h | 14 class MaybeObject; variable 93 virtual void VisitPointers(HeapObject* host, MaybeObject** start, 94 MaybeObject** end) = 0; 100 virtual void VisitPointer(HeapObject* host, MaybeObject** p) { in VisitPointer()
|
D | feedback-vector.h | 171 DECL_ACCESSORS(optimized_code_weak_or_smi, MaybeObject) 209 inline MaybeObject* Get(FeedbackSlot slot) const; 210 inline MaybeObject* get(int index) const; 211 inline void Set(FeedbackSlot slot, MaybeObject* value, 213 inline void set(int index, MaybeObject* value, 221 inline MaybeObject** slots_start(); 256 static void AssertNoLegacyTypes(MaybeObject* object); 611 inline MaybeObject* GetFeedback() const; 612 inline MaybeObject* GetFeedbackExtra() const; 689 inline void SetFeedback(MaybeObject* feedback, [all …]
|
/external/v8/src/ic/ |
D | stub-cache.cc | 61 MaybeObject* handler) { in CommonStubCacheChecks() 75 MaybeObject* StubCache::Set(Name* name, Map* map, MaybeObject* handler) { in Set() 81 MaybeObject* old_handler = primary->value; in Set() 85 if (old_handler != MaybeObject::FromObject( in Set() 102 MaybeObject* StubCache::Get(Name* name, Map* map) { in Get() 119 MaybeObject* empty = MaybeObject::FromObject( in Clear()
|
D | stub-cache.h | 37 MaybeObject* value; 43 MaybeObject* Set(Name* name, Map* map, MaybeObject* handler); 44 MaybeObject* Get(Name* name, Map* map);
|
D | accessor-assembler.h | 53 Label* if_handler, TVariable<MaybeObject>* var_handler, 92 TNode<MaybeObject> LoadHandlerDataField(SloppyTNode<DataHandler> handler, 107 const StoreICParameters* p, TNode<MaybeObject> handler, Label* miss, 138 TVariable<MaybeObject>* var_handler, Label* if_handler, 142 TNode<MaybeObject> LoadDescriptorValueOrFieldType( 160 TNode<MaybeObject> TryMonomorphicCase(Node* slot, Node* vector, 162 TVariable<MaybeObject>* var_handler, 166 TVariable<MaybeObject>* var_handler, 304 TVariable<MaybeObject>* var_handler,
|
D | accessor-assembler.cc | 29 TNode<MaybeObject> AccessorAssembler::LoadHandlerDataField( in LoadHandlerDataField() 64 TNode<MaybeObject> AccessorAssembler::TryMonomorphicCase( in TryMonomorphicCase() 66 TVariable<MaybeObject>* var_handler, Label* if_miss) { in TryMonomorphicCase() 78 TNode<MaybeObject> feedback = ReinterpretCast<MaybeObject>( in TryMonomorphicCase() 86 TNode<MaybeObject> handler = UncheckedCast<MaybeObject>( in TryMonomorphicCase() 97 TVariable<MaybeObject>* var_handler, Label* if_miss, in HandlePolymorphicCase() 128 TNode<MaybeObject> maybe_cached_map = in HandlePolymorphicCase() 135 TNode<MaybeObject> handler = in HandlePolymorphicCase() 152 TNode<MaybeObject> maybe_cached_map = in HandlePolymorphicCase() 159 TNode<MaybeObject> handler = in HandlePolymorphicCase() [all …]
|
/external/v8/src/heap/ |
D | heap-write-barrier.h | 15 class MaybeObject; variable 35 void GenerationalBarrier(HeapObject* object, MaybeObject** slot, 36 MaybeObject* value); 44 void MarkingBarrier(HeapObject* object, MaybeObject** slot, MaybeObject* value);
|
D | scavenger.cc | 36 inline void VisitPointers(HeapObject* host, MaybeObject** start, in VisitPointers() 37 MaybeObject** end) final { in VisitPointers() 40 for (MaybeObject** slot = start; slot < end; ++slot) { in VisitPointers() 41 MaybeObject* target = *slot; in VisitPointers() 53 scavenger_->PageMemoryFence(reinterpret_cast<MaybeObject*>(target)); in HandleSlot() 60 scavenger_->PageMemoryFence(reinterpret_cast<MaybeObject*>(target)); in HandleSlot() 128 heap_, type, addr, [this](MaybeObject** addr) { in ScavengePage()
|
D | scavenger-inl.h | 36 void Scavenger::PageMemoryFence(MaybeObject* object) { in PageMemoryFence() 261 MaybeObject** slot = reinterpret_cast<MaybeObject**>(slot_address); in CheckAndScavengeObject() 262 MaybeObject* object = *slot; in CheckAndScavengeObject() 301 void ScavengeVisitor::VisitPointers(HeapObject* host, MaybeObject** start, in VisitPointers() 302 MaybeObject** end) { in VisitPointers() 303 for (MaybeObject** p = start; p < end; p++) { in VisitPointers() 304 MaybeObject* object = *p; in VisitPointers()
|
D | heap-write-barrier-inl.h | 96 inline void GenerationalBarrier(HeapObject* object, MaybeObject** slot, in GenerationalBarrier() 97 MaybeObject* value) { in GenerationalBarrier() 129 inline void MarkingBarrier(HeapObject* object, MaybeObject** slot, in MarkingBarrier() 130 MaybeObject* value) { in MarkingBarrier()
|
D | mark-compact.cc | 66 virtual void VerifyPointers(MaybeObject** start, MaybeObject** end) = 0; 76 void VisitPointers(HeapObject* host, MaybeObject** start, in VisitPointers() 77 MaybeObject** end) override { in VisitPointers() 193 void VerifyPointers(MaybeObject** start, MaybeObject** end) override { in VerifyPointers() 194 for (MaybeObject** current = start; current < end; current++) { in VerifyPointers() 222 void VisitPointers(HeapObject* host, MaybeObject** start, in VisitPointers() 223 MaybeObject** end) override { in VisitPointers() 238 virtual void VerifyPointers(MaybeObject** start, MaybeObject** end) = 0; 309 void VerifyPointers(MaybeObject** start, MaybeObject** end) override { in VerifyPointers() 310 for (MaybeObject** current = start; current < end; current++) { in VerifyPointers() [all …]
|