/external/v8/src/objects/ |
D | maybe-object.h | 89 class HeapObjectReference : public MaybeObject { 91 static HeapObjectReference* Strong(Object* object) { in Strong() 94 return reinterpret_cast<HeapObjectReference*>(object); in Strong() 97 static HeapObjectReference* Weak(Object* object) { in Weak() 103 static HeapObjectReference* ClearedValue() { in ClearedValue() 104 return reinterpret_cast<HeapObjectReference*>(kClearedWeakHeapObject); in ClearedValue() 107 static void Update(HeapObjectReference** slot, HeapObject* value) { in Update() 115 *slot = reinterpret_cast<HeapObjectReference*>( in Update() 126 DISALLOW_IMPLICIT_CONSTRUCTORS(HeapObjectReference);
|
D | prototype-info-inl.h | 29 info->set_object_create_map(HeapObjectReference::Weak(*map)); in SetObjectCreateMap()
|
D | maybe-object-inl.h | 96 return RemoveWeakHeapObjectMask(reinterpret_cast<HeapObjectReference*>(this)); in GetHeapObject()
|
D | code-inl.h | 140 Set(kNextLinkIndex, HeapObjectReference::Strong(next)); in set_next_link() 169 HeapObjectReference::Strong(GetReadOnlyRoots().undefined_value())); in clear_at()
|
/external/v8/src/heap/ |
D | scavenger-inl.h | 74 bool Scavenger::SemiSpaceCopyObject(Map* map, HeapObjectReference** slot, in SemiSpaceCopyObject() 89 HeapObjectReference::Update(slot, map_word.ToForwardingAddress()); in SemiSpaceCopyObject() 92 HeapObjectReference::Update(slot, target); in SemiSpaceCopyObject() 101 bool Scavenger::PromoteObject(Map* map, HeapObjectReference** slot, in PromoteObject() 115 HeapObjectReference::Update(slot, map_word.ToForwardingAddress()); in PromoteObject() 118 HeapObjectReference::Update(slot, target); in PromoteObject() 128 void Scavenger::EvacuateObjectDefault(Map* map, HeapObjectReference** slot, in EvacuateObjectDefault() 163 EvacuateObjectDefault(map, reinterpret_cast<HeapObjectReference**>(slot), in EvacuateThinString() 194 EvacuateObjectDefault(map, reinterpret_cast<HeapObjectReference**>(slot), in EvacuateShortcutCandidate() 202 EvacuateObjectDefault(map, reinterpret_cast<HeapObjectReference**>(slot), in EvacuateShortcutCandidate() [all …]
|
D | scavenger.h | 64 inline void ScavengeObject(HeapObjectReference** p, HeapObject* object); 70 V8_INLINE bool SemiSpaceCopyObject(Map* map, HeapObjectReference** slot, 73 V8_INLINE bool PromoteObject(Map* map, HeapObjectReference** slot, 76 V8_INLINE void EvacuateObject(HeapObjectReference** slot, Map* map, 81 V8_INLINE void EvacuateObjectDefault(Map* map, HeapObjectReference** slot,
|
D | incremental-marking-inl.h | 22 RecordWriteSlow(obj, reinterpret_cast<HeapObjectReference**>(slot), in RecordWrite() 34 RecordWriteSlow(obj, reinterpret_cast<HeapObjectReference**>(slot), in RecordMaybeWeakWrite()
|
D | scavenger.cc | 51 HeapObjectReference** slot = in HandleSlot() 52 reinterpret_cast<HeapObjectReference**>(slot_address); in HandleSlot() 201 scavenger_->ScavengeObject(reinterpret_cast<HeapObjectReference**>(p), in ScavengePointer()
|
D | mark-compact-inl.h | 179 collector_->RecordSlot(host, reinterpret_cast<HeapObjectReference**>(p), in VisitPointer() 186 collector_->RecordSlot(host, reinterpret_cast<HeapObjectReference**>(p), in VisitPointer() 193 reinterpret_cast<HeapObjectReference**>(p)); in VisitPointer() 390 RecordSlot(object, reinterpret_cast<HeapObjectReference**>(slot), target); in RecordSlot() 394 HeapObjectReference** slot, in RecordSlot()
|
D | incremental-marking.cc | 99 HeapObjectReference** slot, in RecordWriteSlow() 658 [](std::pair<HeapObject*, HeapObjectReference**> slot_in, in UpdateWeakReferencesAfterScavenge() 659 std::pair<HeapObject*, HeapObjectReference**>* slot_out) -> bool { in UpdateWeakReferencesAfterScavenge() 670 slot_out->second = reinterpret_cast<HeapObjectReference**>(new_slot); in UpdateWeakReferencesAfterScavenge()
|
D | mark-compact.h | 449 Worklist<std::pair<HeapObject*, HeapObjectReference**>, 64> weak_references; 622 HeapObjectReference** slot, 662 void AddWeakReference(HeapObject* host, HeapObjectReference** slot) { in AddWeakReference()
|
D | incremental-marking.h | 214 void RecordWriteSlow(HeapObject* obj, HeapObjectReference** slot,
|
D | mark-compact.cc | 1931 DCHECK_EQ(map->raw_transitions(), HeapObjectReference::Weak(dead_target)); in ClearPotentialSimpleMapTransition() 1987 HeapObjectReference** key_slot = in CompactTransitionArray() 1992 HeapObjectReference** target_slot = in CompactTransitionArray() 2091 std::pair<HeapObject*, HeapObjectReference**> slot; in ClearWeakReferences() 2094 HeapObjectReference** location = slot.second; in ClearWeakReferences() 2105 *location = HeapObjectReference::ClearedValue(); in ClearWeakReferences() 2157 ? HeapObjectReference::Weak(map_word.ToForwardingAddress()) in UpdateSlot() 2158 : HeapObjectReference::Strong(map_word.ToForwardingAddress()); in UpdateSlot() 2930 HeapObjectReference::Update( in CheckAndUpdateOldToNewSlot() 2931 reinterpret_cast<HeapObjectReference**>(slot), in CheckAndUpdateOldToNewSlot()
|
D | concurrent-marking.cc | 104 void ProcessWeakHeapObject(HeapObject* host, HeapObjectReference** slot, in ProcessWeakHeapObject() 149 host, reinterpret_cast<HeapObjectReference**>(slot), heap_object); in VisitPointers()
|
D | factory.cc | 333 HeapObjectReference::Strong(*undefined_value()), length); in NewWeakFixedArrayWithMap() 363 HeapObjectReference::Strong(*undefined_value()), length); in NewWeakFixedArray() 2031 HeapObjectReference* undefined_reference = in CopyWeakFixedArrayAndGrow() 2032 HeapObjectReference::Strong(ReadOnlyRoots(isolate()).undefined_value()); in CopyWeakFixedArrayAndGrow() 2053 HeapObjectReference* undefined_reference = in CopyWeakArrayListAndGrow() 2054 HeapObjectReference::Strong(ReadOnlyRoots(isolate()).undefined_value()); in CopyWeakArrayListAndGrow() 3771 cache->Set(cache_index, HeapObjectReference::Weak(*map)); in ObjectLiteralMapFromCache()
|
/external/v8/src/ |
D | transitions-inl.h | 38 HeapObjectReference** TransitionArray::GetKeySlot(int transition_number) { in GetKeySlot() 40 return reinterpret_cast<HeapObjectReference**>( in GetKeySlot() 47 HeapObjectReference::Strong(transitions)); in SetPrototypeTransitions() 82 HeapObjectReference::Strong(key)); in SetKey() 85 HeapObjectReference** TransitionArray::GetTargetSlot(int transition_number) { in GetTargetSlot() 87 return reinterpret_cast<HeapObjectReference**>( in GetTargetSlot()
|
D | feedback-vector.cc | 240 vector->set(index, HeapObjectReference::ClearedValue(), in New() 310 vector->set_optimized_code_weak_or_smi(HeapObjectReference::Weak(*code)); in SetOptimizedCode() 417 SetFeedback(HeapObjectReference::ClearedValue(), SKIP_WRITE_BARRIER); in ConfigureUninitialized() 507 SetFeedbackExtra(HeapObjectReference::Weak(*receiver_map)); in ConfigurePremonomorphic() 517 SetFeedbackExtra(HeapObjectReference::ClearedValue()); in ConfigureMegamorphic() 712 SetFeedback(HeapObjectReference::Weak(*cell)); in ConfigurePropertyCellMode() 739 SetFeedback(HeapObjectReference::ClearedValue()); in ConfigureHandlerMode() 754 SetFeedback(HeapObjectReference::Weak(*source_map)); in ConfigureCloneObject() 762 SetFeedback(HeapObjectReference::Weak(*source_map)); in ConfigureCloneObject() 770 array->Set(2, HeapObjectReference::Weak(*source_map)); in ConfigureCloneObject() [all …]
|
D | transitions.cc | 66 ReplaceTransitions(HeapObjectReference::Weak(*target)); in Insert() 88 ReplaceTransitions(HeapObjectReference::Weak(*target)); in Insert() 102 HeapObjectReference::Weak(simple_transition)); in Insert() 138 array->SetRawTarget(index, HeapObjectReference::Weak(*target)); in Insert() 154 array->SetRawTarget(index, HeapObjectReference::Weak(*target)); in Insert() 201 result->Set(insertion_index, *name, HeapObjectReference::Weak(*target)); in Insert() 390 cache->Set(entry, HeapObjectReference::Weak(*target_map)); in PutPrototypeTransition() 488 result->Set(0, key, HeapObjectReference::Weak(*target)); in EnsureHasFullTransitionArray()
|
D | maybe-handles-inl.h | 61 return HeapObjectReference::Weak(*handle_.ToHandleChecked()); 69 return HeapObjectReference::Weak(*handle_.ToHandleChecked());
|
D | transitions.h | 216 inline HeapObjectReference** GetKeySlot(int transition_number); 221 inline HeapObjectReference** GetTargetSlot(int transition_number);
|
D | globals.h | 505 class HeapObjectReference; variable 1535 HeapObjectReference* value) { in RemoveWeakHeapObjectMask() 1540 V8_INLINE static HeapObjectReference* AddWeakHeapObjectMask(Object* value) { in AddWeakHeapObjectMask() 1541 return reinterpret_cast<HeapObjectReference*>( in AddWeakHeapObjectMask()
|
D | objects.cc | 6426 HeapObjectReference::Weak(*normalized_map)); in Set() 10551 Set(last_index, HeapObjectReference::ClearedValue()); in RemoveOne() 10569 array->Set(kFirstIndex, HeapObjectReference::Weak(*value)); in Add() 10577 array->Set(length, HeapObjectReference::Weak(*value)); in Add() 10590 array->Set(empty_slot, HeapObjectReference::Weak(*value)); in Add() 10601 array->Set(length, HeapObjectReference::Weak(*value)); in Add() 12801 DCHECK_EQ(prototype_users->Get(slot), HeapObjectReference::Weak(*user)); in UnregisterPrototypeUser() 13918 list->Set(function_literal_id, HeapObjectReference::Weak(*shared)); in SetScript() 13956 function_literal_id, HeapObjectReference::Strong( in SetScript() 17474 HeapObjectReference::Weak(native_context)) { in SearchLiteralsMapEntry() [all …]
|
/external/v8/src/ic/ |
D | handler-configuration.cc | 48 handler->set_data2(HeapObjectReference::Weak(*native_context)); in InitPrototypeChecksImpl() 196 handler->set_data1(HeapObjectReference::Weak(*transition)); in StoreElementTransition()
|
/external/v8/src/snapshot/ |
D | deserializer.cc | 352 ? HeapObjectReference::Strong(obj) in ReadObject() 353 : HeapObjectReference::Weak(obj); in ReadObject()
|
/external/v8/src/debug/ |
D | liveedit.cc | 1123 mapping.second->function_literal_id(), HeapObjectReference::Weak(*sfi)); in PatchScript()
|