V8 Project
|
#include <objects.h>
Classes | |
class | Entry |
class | WhitenessWitness |
Private Member Functions | |
void | CopyFrom (int index, DescriptorArray *src, const WhitenessWitness &) |
void | Set (int descriptor_number, Descriptor *desc, const WhitenessWitness &) |
void | SwapSortedKeys (int first, int second) |
DISALLOW_IMPLICIT_CONSTRUCTORS (DescriptorArray) | |
Static Private Member Functions | |
static int | ToKeyIndex (int descriptor_number) |
static int | ToDetailsIndex (int descriptor_number) |
static int | ToValueIndex (int descriptor_number) |
Additional Inherited Members | |
![]() | |
enum | StoreFromKeyed { MAY_BE_STORE_FROM_KEYED , CERTAINLY_NOT_STORE_FROM_KEYED } |
enum | StorePropertyMode { NORMAL_PROPERTY , SUPER_PROPERTY } |
![]() | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
![]() | |
static void | NoWriteBarrierSet (FixedArray *array, int index, Object *value) |
static void | NoIncrementalWriteBarrierSet (FixedArray *array, int index, Object *value) |
|
static |
Definition at line 7790 of file objects.cc.
References v8::internal::Handle< T >::cast(), DCHECK, v8::internal::Isolate::factory(), v8::internal::Smi::FromInt(), and size.
Referenced by CopyUpToAddAttributes(), v8::internal::Map::GeneralizeRepresentation(), v8::internal::JSObject::MigrateSlowToFast(), and v8::internal::Map::ShareDescriptor().
|
inline |
Definition at line 3058 of file objects-inl.h.
References GetSortedKey(), GetSortedKeyIndex(), v8::internal::Name::Hash(), number_of_descriptors(), Set(), SetNumberOfDescriptors(), and SetSortedKey().
Referenced by v8::internal::Map::AppendDescriptor().
Definition at line 6713 of file objects.cc.
References v8::internal::CALLBACKS, v8::internal::CONSTANT, DCHECK, v8::internal::FIELD, v8::internal::Object::FitsRepresentation(), v8::internal::NORMAL, and UNREACHABLE.
void v8::internal::DescriptorArray::ClearEnumCache | ( | ) |
Definition at line 7807 of file objects.cc.
References v8::internal::Smi::FromInt().
Referenced by v8::internal::MarkCompactCollector::TrimEnumCache().
|
inline |
Definition at line 2913 of file objects.h.
References v8::internal::FixedArray::get().
|
private |
Definition at line 7833 of file objects.cc.
References GetDetails(), v8::internal::HeapObject::GetIsolate(), GetKey(), GetValue(), and v8::internal::handle().
|
static |
Definition at line 6951 of file objects.cc.
References CopyUpToAddAttributes(), and NONE.
Referenced by v8::internal::Map::Copy(), v8::internal::Map::CopyAddDescriptor(), v8::internal::Map::CopyReplaceDescriptor(), and v8::internal::Map::EnsureDescriptorSlack().
|
static |
Definition at line 6960 of file objects.cc.
References Allocate(), v8::internal::CALLBACKS, DONT_DELETE, DONT_ENUM, v8::internal::handle(), NONE, READ_ONLY, and size.
Referenced by v8::internal::Map::CopyForFreeze(), and CopyUpTo().
|
private |
|
inline |
Definition at line 3023 of file objects-inl.h.
References GetDetails(), v8::internal::HeapObject::GetIsolate(), GetKey(), GetValue(), and v8::internal::handle().
|
inline |
Definition at line 3016 of file objects-inl.h.
References v8::internal::CALLBACKS, DCHECK, v8::internal::Foreign::foreign_address(), GetCallbacksObject(), and GetType().
Definition at line 3010 of file objects-inl.h.
References v8::internal::CALLBACKS, DCHECK, GetType(), and GetValue().
Referenced by GetCallbacks().
Definition at line 3005 of file objects-inl.h.
References GetValue().
Referenced by v8::internal::V8HeapExplorer::ExtractPropertyReferences(), and v8::internal::JSObject::SlowReverseLookup().
Definition at line 2923 of file objects-inl.h.
References GetValueSlot().
Referenced by v8::internal::StaticMarkingVisitor< StaticVisitor >::MarkMapContents().
Definition at line 2918 of file objects-inl.h.
References GetKeySlot().
Referenced by v8::internal::StaticMarkingVisitor< StaticVisitor >::MarkMapContents().
|
inline |
Definition at line 2981 of file objects-inl.h.
References DCHECK, v8::internal::FixedArray::get(), number_of_descriptors(), and ToDetailsIndex().
Referenced by CopyFrom(), v8::internal::Map::CopyGeneralizeAllRepresentations(), v8::internal::V8HeapExplorer::ExtractPropertyReferences(), v8::internal::Map::FindLastMatchMap(), Get(), GetFieldIndex(), GetFieldType(), v8::internal::JSObject::GetHiddenPropertiesHashTable(), v8::internal::JSObject::GetOwnPropertyNames(), GetSortedKeyIndex(), GetType(), v8::internal::Map::LookupDescriptor(), v8::internal::Map::NumberOfDescribedProperties(), v8::internal::Map::NumberOfFields(), v8::internal::JSObject::PrintInstanceMigration(), SetRepresentation(), SetSortedKey(), v8::internal::JSObject::SlowReverseLookup(), v8::internal::Map::TransitionToAccessorProperty(), v8::internal::Map::TransitionToDataProperty(), v8::internal::Map::TryUpdateInternal(), and v8::internal::JSObject::WriteToField().
|
inline |
Definition at line 2917 of file objects.h.
References DCHECK, and v8::internal::FixedArray::get().
Referenced by v8::internal::GetEnumPropertyKeys(), and v8::internal::MarkCompactCollector::TrimEnumCache().
|
inline |
Definition at line 2937 of file objects.h.
References DCHECK, and v8::internal::HeapObject::RawField().
|
inline |
Definition at line 2931 of file objects.h.
References DCHECK, and v8::internal::FixedArray::get().
Referenced by v8::internal::MarkCompactCollector::TrimEnumCache().
Definition at line 2993 of file objects-inl.h.
References DCHECK, v8::internal::FIELD, and GetDetails().
Referenced by v8::internal::V8HeapExplorer::ExtractPropertyReferences(), and v8::internal::Map::NextFreePropertyIndex().
Definition at line 2999 of file objects-inl.h.
References v8::internal::TypeImpl< Config >::cast(), DCHECK, v8::internal::FIELD, GetDetails(), and GetValue().
Referenced by v8::internal::Map::FindLastMatchMap().
Definition at line 2928 of file objects-inl.h.
References DCHECK, v8::internal::FixedArray::get(), number_of_descriptors(), and ToKeyIndex().
Referenced by CopyFrom(), v8::internal::Map::CopyGeneralizeAllRepresentations(), v8::internal::V8HeapExplorer::ExtractPropertyReferences(), v8::internal::Map::FindLastMatchMap(), Get(), v8::internal::JSObject::GetHiddenPropertiesHashTable(), v8::internal::JSObject::GetOwnPropertyNames(), GetSortedKey(), v8::internal::Map::NumberOfDescribedProperties(), v8::internal::JSObject::PrintInstanceMigration(), v8::internal::JSObject::SlowReverseLookup(), v8::internal::Map::TransitionToAccessorProperty(), and v8::internal::Map::TryUpdateInternal().
Definition at line 2912 of file objects-inl.h.
References DCHECK, number_of_descriptors(), v8::internal::FixedArray::RawFieldOfElementAt(), and ToKeyIndex().
Referenced by GetDescriptorStartSlot().
Definition at line 2939 of file objects-inl.h.
References GetKey(), and GetSortedKeyIndex().
Referenced by Append().
Definition at line 2934 of file objects-inl.h.
References GetDetails().
Referenced by Append(), v8::internal::JSObject::GetHiddenPropertiesHashTable(), GetSortedKey(), and SwapSortedKeys().
|
inline |
Definition at line 2988 of file objects-inl.h.
References GetDetails().
Referenced by v8::internal::V8HeapExplorer::ExtractPropertyReferences(), GetCallbacks(), GetCallbacksObject(), v8::internal::JSObject::GetHiddenPropertiesHashTable(), v8::internal::Map::NextFreePropertyIndex(), and v8::internal::JSObject::SlowReverseLookup().
Definition at line 2970 of file objects-inl.h.
References DCHECK, v8::internal::FixedArray::get(), number_of_descriptors(), and ToValueIndex().
Referenced by CopyFrom(), v8::internal::V8HeapExplorer::ExtractPropertyReferences(), v8::internal::Map::FindLastMatchMap(), Get(), GetCallbacksObject(), GetConstant(), GetFieldType(), v8::internal::SetAccessors(), v8::internal::Map::TransitionToAccessorProperty(), and v8::internal::Map::TryUpdateInternal().
Definition at line 2965 of file objects-inl.h.
References v8::internal::FixedArray::OffsetOfElementAt(), and ToValueIndex().
Referenced by v8::internal::CodeStubGraphBuilder< Stub >::BuildCodeStub().
Definition at line 2959 of file objects-inl.h.
References DCHECK, number_of_descriptors(), v8::internal::FixedArray::RawFieldOfElementAt(), and ToValueIndex().
Referenced by GetDescriptorEndSlot().
|
inline |
Definition at line 2909 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::TrimDescriptorArray().
|
inline |
Definition at line 2923 of file objects.h.
References v8::internal::FixedArray::get().
Referenced by v8::internal::MarkCompactCollector::TrimEnumCache().
v8::internal::DescriptorArray::INLINE | ( | int | SearchName *name, int number_of_own_descriptors | ) |
v8::internal::DescriptorArray::INLINE | ( | int | SearchWithCacheName *name, Map *map | ) |
|
inline |
Definition at line 2745 of file objects-inl.h.
References DCHECK, v8::internal::HeapObject::GetHeap(), kFirstIndex, and v8::internal::FixedArrayBase::length().
|
inline |
Definition at line 2891 of file objects.h.
References DCHECK.
Referenced by Append(), v8::internal::Map::AppendDescriptor(), v8::internal::MarkCompactCollector::ClearMapTransitions(), v8::internal::Map::CopyGeneralizeAllRepresentations(), GetDetails(), v8::internal::JSObject::GetHiddenPropertiesHashTable(), GetKey(), GetKeySlot(), GetValue(), GetValueSlot(), v8::internal::Map::InitializeDescriptors(), v8::internal::Map::NumberOfDescribedProperties(), Set(), and SetNumberOfDescriptors().
|
inline |
Definition at line 2897 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::TrimDescriptorArray().
|
inline |
|
inline |
Definition at line 2902 of file objects.h.
void v8::internal::DescriptorArray::Replace | ( | int | descriptor_number, |
Descriptor * | descriptor | ||
) |
Definition at line 7812 of file objects.cc.
Referenced by v8::internal::Map::CopyGeneralizeAllRepresentations(), and v8::internal::ReplaceAccessors().
|
inline |
Definition at line 3048 of file objects-inl.h.
References DCHECK, number_of_descriptors(), v8::internal::FixedArray::set(), ToDetailsIndex(), ToKeyIndex(), and ToValueIndex().
Referenced by Append().
|
inlineprivate |
Definition at line 3030 of file objects-inl.h.
References DCHECK, v8::internal::FixedArray::NoIncrementalWriteBarrierSet(), number_of_descriptors(), ToDetailsIndex(), ToKeyIndex(), and ToValueIndex().
void v8::internal::DescriptorArray::SetEnumCache | ( | FixedArray * | bridge_storage, |
FixedArray * | new_cache, | ||
Object * | new_index_cache | ||
) |
Definition at line 7818 of file objects.cc.
References DCHECK, and v8::internal::FixedArrayBase::length().
Referenced by v8::internal::GetEnumPropertyKeys().
|
inline |
Definition at line 2752 of file objects-inl.h.
References v8::internal::Smi::FromInt(), kDescriptorLengthOffset, number_of_descriptors(), and WRITE_FIELD.
Referenced by Append(), and v8::internal::MarkCompactCollector::TrimDescriptorArray().
|
inline |
Definition at line 2950 of file objects-inl.h.
References DCHECK, GetDetails(), v8::internal::Representation::IsNone(), v8::internal::FixedArray::set(), and ToDetailsIndex().
Referenced by v8::internal::Map::CopyGeneralizeAllRepresentations().
Definition at line 2944 of file objects-inl.h.
References GetDetails(), v8::internal::FixedArray::set(), and ToDetailsIndex().
Referenced by Append(), and SwapSortedKeys().
Definition at line 2976 of file objects-inl.h.
References v8::internal::FixedArray::set(), and ToValueIndex().
Referenced by v8::internal::Map::CopyGeneralizeAllRepresentations().
void v8::internal::DescriptorArray::Sort | ( | ) |
Definition at line 7849 of file objects.cc.
References DCHECK.
Referenced by v8::internal::MarkCompactCollector::TrimDescriptorArray().
Definition at line 3078 of file objects-inl.h.
References GetSortedKeyIndex(), and SetSortedKey().
|
inlinestaticprivate |
Definition at line 3101 of file objects.h.
Referenced by GetDetails(), Set(), SetRepresentation(), and SetSortedKey().
Definition at line 3095 of file objects.h.
Referenced by GetKey(), GetKeySlot(), and Set().
Definition at line 3107 of file objects.h.
Referenced by GetValue(), GetValueOffset(), GetValueSlot(), Set(), and SetValue().
|
static |
|
static |
|
static |
|
static |
Definition at line 3027 of file objects.h.
Referenced by SetNumberOfDescriptors().
|
static |
Definition at line 3038 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::TrimDescriptorArray().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3022 of file objects.h.
Referenced by v8::internal::GetEnumPropertyKeys().
|
static |
|
static |
|
static |
|
static |
Definition at line 3029 of file objects.h.
Referenced by v8::internal::ConsString::first(), v8::internal::ConsString::set_first(), and v8::internal::ConsString::unchecked_first().
|
static |
Definition at line 3015 of file objects.h.
Referenced by v8::internal::DescriptorArrayAppender::Contains(), v8::internal::Map::CopyInsertDescriptor(), v8::internal::HashTable< Derived, Shape, Key >::FindEntry(), v8::internal::Map::LookupDescriptor(), and v8::internal::Map::TransitionToAccessorProperty().