V8 Project
|
#include <objects.h>
Classes | |
class | ConstructionCount |
class | Deprecated |
class | DictionaryMap |
class | DoneInobjectSlackTracking |
class | ElementsKindBits |
class | EnumLengthBits |
class | FunctionWithPrototype |
class | HasInstanceCallHandler |
class | IsFrozen |
class | IsMigrationTarget |
class | IsPrototypeMapBits |
class | IsUnstable |
class | NumberOfOwnDescriptorsBits |
class | OwnsDescriptors |
Public Types | |
typedef void(* | TraverseCallback) (Map *map, void *data) |
typedef FixedBodyDescriptor< kPointerFieldsBeginOffset, kPointerFieldsEndOffset, kSize > | BodyDescriptor |
![]() | |
enum | StoreFromKeyed { MAY_BE_STORE_FROM_KEYED , CERTAINLY_NOT_STORE_FROM_KEYED } |
enum | StorePropertyMode { NORMAL_PROPERTY , SUPER_PROPERTY } |
Private Member Functions | |
bool | EquivalentToForTransition (Map *other) |
void | NotifyLeafMapLayoutChange () |
void | ZapPrototypeTransitions () |
void | ZapTransitions () |
void | DeprecateTransitionTree () |
void | DeprecateTarget (Name *key, DescriptorArray *new_descriptors) |
Map * | FindLastMatchMap (int verbatim, int length, DescriptorArray *descriptors) |
void | UpdateFieldType (int descriptor_number, Handle< Name > name, Handle< HeapType > new_type) |
void | PrintGeneralization (FILE *file, const char *reason, int modify_index, int split, int descriptors, bool constant_to_field, Representation old_representation, Representation new_representation, HeapType *old_field_type, HeapType *new_field_type) |
DISALLOW_IMPLICIT_CONSTRUCTORS (Map) | |
Static Private Attributes | |
static const int | kFastPropertiesSoftLimit = 12 |
static const int | kMaxFastProperties = 128 |
Additional Inherited Members | |
![]() | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
|
static |
Definition at line 11357 of file objects.cc.
References v8::internal::DependentCode::Insert(), and v8::internal::HeapObject::map().
Referenced by AddDependentIC(), and v8::internal::LChunk::CommitDependencies().
|
static |
Definition at line 11345 of file objects.cc.
References v8::internal::CompilationInfo::dependencies(), v8::internal::handle(), v8::internal::DependentCode::Insert(), v8::internal::CompilationInfo::isolate(), v8::internal::HeapObject::map(), v8::internal::CompilationInfo::object_wrapper(), and v8::internal::CompilationInfo::zone().
Referenced by v8::internal::HOptimizedGraphBuilder::PropertyAccessInfo::LoadFieldMaps(), and v8::internal::FINAL< kOperandKind, kNumCachedOperands >::MarkDependsOnEmptyArrayProtoElements().
Definition at line 11367 of file objects.cc.
References AddDependentCode(), DCHECK, v8::internal::DependentCode::kWeakICGroup, and v8::internal::HeapObject::map().
Referenced by v8::internal::IC::RegisterWeakMapDependency().
|
static |
Definition at line 3174 of file objects.cc.
References DCHECK, v8::NeanderArray::length(), v8::internal::HeapObject::map(), NumberOfOwnDescriptors(), and SetNumberOfOwnDescriptors().
|
inline |
Definition at line 5125 of file objects-inl.h.
References v8::internal::DescriptorArray::Append(), DCHECK, v8::internal::DescriptorArray::number_of_descriptors(), NumberOfOwnDescriptors(), and SetNumberOfOwnDescriptors().
|
static |
Definition at line 3374 of file objects.cc.
References v8::internal::AddMissingElementsTransitions(), v8::internal::FindClosestElementsTransition(), and v8::internal::HeapObject::map().
Referenced by v8::internal::JSObject::AllocateStorageForMap(), v8::internal::ArrayConstructorCommon(), and v8::internal::TypedArrayMap().
|
inline |
Definition at line 4343 of file objects-inl.h.
References kBitFieldOffset, and READ_BYTE_FIELD.
Referenced by v8::internal::CheckEquivalent(), function_with_prototype(), has_non_instance_prototype(), is_access_check_needed(), RawCopy(), set_function_with_prototype(), set_is_access_check_needed(), and set_non_instance_prototype().
|
inline |
Definition at line 4353 of file objects-inl.h.
References kBitField2Offset, and READ_BYTE_FIELD.
Referenced by v8::internal::CheckEquivalent(), Hash(), is_extensible(), is_prototype_map(), RawCopy(), set_is_extensible(), and set_is_prototype_map().
|
inline |
Definition at line 5120 of file objects-inl.h.
References kBitField3Offset, and READ_UINT32_FIELD.
Referenced by construction_count(), deprecate(), done_inobject_slack_tracking(), freeze(), has_instance_call_handler(), is_deprecated(), is_dictionary_map(), is_frozen(), is_migration_target(), is_stable(), mark_unstable(), owns_descriptors(), RawCopy(), set_construction_count(), set_dictionary_map(), set_done_inobject_slack_tracking(), set_has_instance_call_handler(), set_migration_target(), and set_owns_descriptors().
|
inline |
Definition at line 4525 of file objects-inl.h.
References v8::internal::CONSTANT, and LastAdded().
|
inline |
Definition at line 5162 of file objects-inl.h.
References HasTransitionArray(), v8::internal::Page::kMaxRegularHeapObjectSize, v8::internal::TransitionArray::kTransitionSize, and v8::internal::FixedArray::SizeFor().
Referenced by CopyAddDescriptor(), and CopyReplaceDescriptors().
|
inline |
Definition at line 4549 of file objects-inl.h.
References is_stable().
|
inline |
Definition at line 6119 of file objects.h.
References v8::internal::FIRST_JS_OBJECT_TYPE, v8::internal::LAST_JS_OBJECT_TYPE, v8::internal::LAST_TYPE, and v8::internal::STATIC_ASSERT().
|
inline |
Definition at line 6945 of file objects-inl.h.
References DCHECK, v8::internal::Heap::InNewSpace(), kCodeCacheOffset, and WRITE_FIELD.
void v8::internal::Map::ClearNonLiveTransitions | ( | Heap * | heap | ) |
|
staticprivate |
Definition at line 1879 of file objects.cc.
|
staticprivate |
Definition at line 6519 of file objects.cc.
References v8::internal::TransitionArray::CopyInsert(), DCHECK, v8::internal::flag, and name.
|
inline |
Definition at line 4495 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by v8::internal::JSFunction::IsInobjectSlackTrackingInProgress().
String * v8::internal::Map::constructor_name | ( | ) |
Definition at line 1689 of file objects.cc.
Referenced by PrintGeneralization(), and v8::internal::JSObject::PrintInstanceMigration().
Definition at line 6664 of file objects.cc.
References v8::internal::DescriptorArray::CopyUpTo(), v8::internal::HeapObject::map(), NumberOfOwnDescriptors(), and v8::internal::OMIT_TRANSITION.
Referenced by v8::internal::JSObject::Freeze(), v8::internal::NewJSObjectWithNullProto(), v8::internal::NewSloppyArguments(), v8::internal::JSObject::OptimizeAsPrototype(), v8::internal::JSObject::PreventExtensions(), v8::internal::RUNTIME_FUNCTION(), v8::internal::JSFunction::SetInstancePrototype(), v8::internal::JSObject::SetObserved(), v8::internal::JSFunction::SetPrototype(), and v8::Object::TurnOnAccessCheck().
|
staticprivate |
Definition at line 6911 of file objects.cc.
References CanHaveMoreTransitions(), v8::internal::DescriptorArray::CopyUpTo(), v8::internal::flag, v8::internal::INSERT_TRANSITION, v8::internal::HeapObject::map(), NumberOfOwnDescriptors(), owns_descriptors(), and v8::internal::SIMPLE_TRANSITION.
|
static |
Definition at line 6592 of file objects.cc.
References DCHECK, v8::internal::DICTIONARY_ELEMENTS, elements_kind(), elements_transition_map(), v8::internal::flag, HasElementsTransition(), v8::internal::INSERT_TRANSITION, v8::internal::IsExternalArrayElementsKind(), v8::internal::IsFastElementsKind(), v8::internal::IsMoreGeneralElementsKindTransition(), v8::internal::HeapObject::map(), and owns_descriptors().
Referenced by v8::internal::CacheInitialJSArrayMaps(), and v8::internal::HashTable< MapCache, MapCacheShape, HashTableKey * >::Rehash().
Definition at line 6468 of file objects.cc.
References v8::internal::HeapObject::GetHeap(), inobject_properties(), instance_size(), v8::internal::HeapObject::map(), NotifyLeafMapLayoutChange(), pre_allocated_property_fields(), and unused_property_fields().
Referenced by v8::internal::JSObject::DeleteNormalizedProperty(), v8::internal::JSObject::MigrateSlowToFast(), and v8::internal::JSObject::SetPropertyCallback().
Definition at line 6699 of file objects.cc.
References v8::internal::DescriptorArray::CopyUpToAddAttributes(), v8::internal::DICTIONARY_ELEMENTS, v8::internal::Isolate::factory(), FROZEN, v8::internal::HeapObject::GetIsolate(), v8::internal::handle(), v8::internal::INSERT_TRANSITION, v8::internal::HeapObject::map(), and NumberOfOwnDescriptors().
Referenced by v8::internal::JSObject::Freeze().
Definition at line 6637 of file objects.cc.
References DCHECK, v8::internal::Isolate::factory(), v8::internal::FULL_TRANSITION, v8::internal::HeapObject::GetIsolate(), is_observed(), is_prototype_map(), v8::internal::HeapObject::map(), name, and owns_descriptors().
Referenced by v8::internal::JSObject::SetObserved().
|
static |
Definition at line 2158 of file objects.cc.
References v8::internal::HeapObject::map().
|
static |
Definition at line 2105 of file objects.cc.
References v8::internal::CONSTANT, DCHECK, v8::internal::FIELD, v8::internal::FORCE_FIELD, v8::internal::DescriptorArray::GetDetails(), v8::internal::HeapObject::GetIsolate(), v8::internal::DescriptorArray::GetKey(), v8::internal::handle(), v8::internal::JSObject::kFieldsAdded, v8::internal::HeapObject::map(), NULL, v8::internal::DescriptorArray::number_of_descriptors(), PrintGeneralization(), v8::internal::DescriptorArray::Replace(), v8::internal::DescriptorArray::SetRepresentation(), v8::internal::DescriptorArray::SetValue(), and v8::internal::Representation::Tagged().
|
static |
Definition at line 6934 of file objects.cc.
References v8::internal::flag, v8::internal::DescriptorArray::kNotFound, and v8::internal::HeapObject::map().
Referenced by TransitionToAccessorProperty().
|
staticprivate |
Definition at line 6565 of file objects.cc.
References DCHECK, v8::internal::FIELD, v8::internal::handle(), v8::internal::JSObject::kFieldsAdded, v8::internal::HeapObject::map(), name, v8::internal::SIMPLE_TRANSITION, and unused_property_fields().
|
staticprivate |
Definition at line 6444 of file objects.cc.
References v8::internal::CLEAR_INOBJECT_PROPERTIES, inobject_properties(), instance_size(), v8::internal::kPointerSize, v8::internal::HeapObject::map(), and mode().
Referenced by Normalize().
|
staticprivate |
Definition at line 7006 of file objects.cc.
References v8::internal::DescriptorArray::CopyUpTo(), DCHECK, v8::internal::flag, v8::internal::FULL_TRANSITION, v8::internal::HeapObject::map(), NumberOfOwnDescriptors(), and v8::internal::SIMPLE_TRANSITION.
|
staticprivate |
Definition at line 6533 of file objects.cc.
References CanHaveMoreTransitions(), CHECK, DCHECK, v8::internal::FIELD, v8::internal::flag, v8::internal::INSERT_TRANSITION, is_prototype_map(), v8::internal::HeapObject::map(), name, and v8::internal::Representation::Tagged().
|
static |
Definition at line 1746 of file objects.cc.
Referenced by TransitionToDataProperty().
|
static |
Definition at line 1710 of file objects.cc.
Referenced by TransitionToDataProperty().
Definition at line 6674 of file objects.cc.
References v8::internal::StaticVisitorBase::GetVisitorId(), v8::internal::handle(), v8::internal::JSObject::kHeaderSize, v8::internal::JSObject::kMaxInstanceSize, v8::internal::kPointerSize, and v8::internal::kPointerSizeLog2.
Referenced by v8::internal::ComputeObjectLiteralMap().
|
inline |
Definition at line 4460 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
private |
Definition at line 2187 of file objects.cc.
References DeprecateTransitionTree(), GetBackPointer(), v8::internal::HeapObject::GetHeap(), v8::internal::TransitionArray::GetTarget(), v8::internal::Heap::incremental_marking(), v8::internal::kInvalidEnumCacheSentinel, v8::internal::TransitionArray::kNotFound, v8::internal::IncrementalMarking::RecordWrites(), v8::internal::TransitionArray::Search(), and SetEnumLength().
|
private |
Definition at line 2169 of file objects.cc.
References v8::internal::dependent_code, DeprecateTransitionTree(), v8::internal::HeapObject::GetIsolate(), v8::internal::TransitionArray::GetTarget(), v8::internal::DependentCode::kTransitionGroup, and v8::internal::TransitionArray::number_of_transitions().
Referenced by DeprecateTarget(), and DeprecateTransitionTree().
bool v8::internal::Map::DictionaryElementsInPrototypeChainOnly | ( | ) |
Definition at line 6003 of file objects.cc.
References v8::internal::PrototypeIterator::IsAtEnd(), and v8::internal::IsDictionaryElementsKind().
|
private |
|
inline |
Definition at line 4485 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by v8::internal::JSFunction::CompleteInobjectSlackTracking(), and v8::internal::JSFunction::StartInobjectSlackTracking().
|
inline |
Definition at line 5730 of file objects.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by v8::internal::JSObject::AllocateStorageForMap(), CopyAsElementsKind(), v8::internal::JSObject::GetElementsKind(), v8::internal::IC::IsTransitionOfMonomorphicTarget(), v8::internal::HashTable< MapCache, MapCacheShape, HashTableKey * >::IterateElements(), LookupElementsTransitionMap(), v8::internal::JSTypedArray::MaterializeArrayBuffer(), v8::internal::HashTable< MapCache, MapCacheShape, HashTableKey * >::New(), v8::internal::RUNTIME_FUNCTION(), TransitionElementsTo(), and TransitionElementsToSlow().
|
inline |
Definition at line 5156 of file objects-inl.h.
References v8::internal::HeapObject::GetHeap().
Referenced by CopyAsElementsKind(), v8::internal::HashTable< MapCache, MapCacheShape, HashTableKey * >::IterateElements(), and v8::internal::HashTable< MapCache, MapCacheShape, HashTableKey * >::New().
Definition at line 3057 of file objects.cc.
References v8::internal::DescriptorArray::CopyUpTo(), DCHECK, GetBackPointer(), v8::internal::HeapObject::GetHeap(), v8::internal::Heap::incremental_marking(), v8::internal::HeapObject::map(), NumberOfOwnDescriptors(), owns_descriptors(), and v8::internal::IncrementalMarking::RecordWrites().
|
inline |
Definition at line 5955 of file objects.h.
Referenced by v8::internal::JSReceiver::IsSimpleEnum(), and v8::internal::JSObject::NumberOfOwnProperties().
bool v8::internal::Map::EquivalentToForNormalization | ( | Map * | other, |
PropertyNormalizationMode | mode | ||
) |
Definition at line 9054 of file objects.cc.
References v8::internal::CheckEquivalent(), v8::internal::CLEAR_INOBJECT_PROPERTIES, inobject_properties(), and mode().
Definition at line 9049 of file objects.cc.
References v8::internal::CheckEquivalent().
Definition at line 1847 of file objects-inl.h.
References v8::internal::FIELD, v8::internal::TransitionArray::GetKey(), v8::internal::TransitionArray::GetTargetDetails(), HasTransitionArray(), v8::internal::TransitionArray::IsSimpleTransition(), v8::internal::TransitionArray::kSimpleTransitionIndex, v8::internal::HeapObject::map(), name, NONE, and v8::internal::Handle< T >::null().
Referenced by ExpectedTransitionTarget().
Definition at line 1862 of file objects-inl.h.
References DCHECK, ExpectedTransitionKey(), v8::internal::TransitionArray::kSimpleTransitionIndex, and v8::internal::HeapObject::map().
Definition at line 2262 of file objects.cc.
References DCHECK_EQ, v8::internal::FIELD, GetBackPointer(), and NumberOfOwnDescriptors().
Referenced by GeneralizeFieldType().
Object * v8::internal::Map::FindInCodeCache | ( | Name * | name, |
Code::Flags | flags | ||
) |
Definition at line 7047 of file objects.cc.
References v8::internal::anonymous_namespace{flags.cc}::flags, v8::internal::HeapObject::GetHeap(), and name.
|
private |
Definition at line 2224 of file objects.cc.
References DCHECK, v8::internal::FIELD, v8::internal::DescriptorArray::GetDetails(), v8::internal::DescriptorArray::GetFieldType(), v8::internal::DescriptorArray::GetKey(), v8::internal::TransitionArray::GetTarget(), v8::internal::DescriptorArray::GetValue(), HasTransitionArray(), v8::internal::TransitionArray::kNotFound, name, v8::internal::TypeImpl< Config >::NowIs(), and v8::internal::TransitionArray::Search().
Map * v8::internal::Map::FindRootMap | ( | ) |
Definition at line 2214 of file objects.cc.
References GetBackPointer().
Handle< Map > v8::internal::Map::FindTransitionedMap | ( | MapHandleList * | candidates | ) |
Definition at line 3212 of file objects.cc.
References v8::internal::CanTransitionToMoreGeneralFastElementsKind(), v8::internal::ContainsMap(), v8::internal::GetNextMoreGeneralFastElementsKind(), v8::internal::Handle< T >::is_null(), v8::internal::IsFastPackedElementsKind(), v8::internal::IsTransitionableFastElementsKind(), v8::internal::MaybeNull(), and v8::internal::Handle< T >::null().
|
inlinestatic |
Definition at line 1869 of file objects-inl.h.
References v8::internal::FIELD, v8::internal::TransitionArray::GetTarget(), v8::internal::TransitionArray::GetTargetDetails(), HasTransitionArray(), v8::internal::TransitionArray::kNotFound, v8::internal::HeapObject::map(), NONE, v8::internal::Handle< T >::null(), and v8::internal::TransitionArray::Search().
|
inline |
Definition at line 4500 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
Definition at line 4382 of file objects-inl.h.
References bit_field(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by v8::internal::JSFunction::should_have_prototype().
Definition at line 2676 of file objects.cc.
References v8::internal::FIELD, v8::internal::FORCE_FIELD, v8::internal::HeapObject::GetIsolate(), v8::internal::HeapObject::map(), NumberOfOwnDescriptors(), and v8::internal::Representation::Tagged().
Referenced by v8::internal::Deoptimizer::MaterializeNextHeapObject().
|
static |
Definition at line 2297 of file objects.cc.
References DCHECK, and v8::internal::TypeImpl< Config >::Union().
Referenced by GeneralizeFieldType().
|
static |
Definition at line 2317 of file objects.cc.
References DCHECK, DCHECK_EQ, FindFieldOwner(), GeneralizeFieldType(), v8::internal::HeapObject::GetIsolate(), v8::internal::DependentCode::kFieldTypeGroup, v8::internal::HeapObject::map(), name, NumberOfOwnDescriptors(), and PrintGeneralization().
|
static |
Definition at line 2378 of file objects.cc.
References v8::internal::DescriptorArray::Allocate(), v8::internal::CALLBACKS, v8::internal::CONSTANT, v8::internal::TypeImpl< Config >::Constant(), DCHECK, DCHECK_EQ, DCHECK_NE, v8::internal::FIELD, v8::internal::Representation::fits_into(), v8::internal::FORCE_FIELD, v8::internal::Representation::generalize(), v8::internal::handle(), v8::internal::Representation::IsDouble(), v8::internal::Representation::IsNone(), v8::internal::TransitionArray::kNotFound, v8::internal::Max(), and v8::None.
Referenced by v8::internal::JSObject::GeneralizeFieldRepresentation().
|
inline |
Definition at line 5134 of file objects-inl.h.
References v8::internal::TransitionArray::back_pointer_storage(), v8::internal::TransitionArray::cast(), DCHECK, kTransitionsOrBackPointerOffset, and READ_FIELD.
Referenced by DeprecateTarget(), EnsureDescriptorSlack(), FindFieldOwner(), FindRootMap(), v8::internal::TransitionArray::NewWith(), and SetBackPointer().
|
inline |
Definition at line 2891 of file objects-inl.h.
References DCHECK, v8::internal::Heap::EmptyExternalArrayForMap(), v8::internal::Heap::EmptyFixedTypedArrayForMap(), v8::internal::HeapObject::GetHeap(), has_external_array_elements(), has_fast_double_elements(), has_fast_smi_or_object_elements(), has_fixed_typed_array_elements(), NULL, and UNREACHABLE.
Referenced by v8::internal::JSObject::initialize_elements().
Definition at line 4251 of file objects-inl.h.
References DCHECK, inobject_properties(), instance_size(), and v8::internal::kPointerSize.
Referenced by v8::internal::JSObject::GetInObjectPropertyOffset().
|
inline |
Definition at line 2867 of file objects-inl.h.
References LastAdded().
Referenced by v8::internal::TransitionArray::GetTargetDetails(), and v8::internal::JSObject::MigrateToNewProperty().
|
staticprivate |
Definition at line 11267 of file objects.cc.
References v8::internal::FixedArray::get(), GetPrototypeTransitions(), kProtoTransitionElementsPerEntry, kProtoTransitionHeaderSize, kProtoTransitionMapOffset, kProtoTransitionPrototypeOffset, v8::internal::HeapObject::map(), and NumberOfProtoTransitions().
|
inline |
Definition at line 5181 of file objects-inl.h.
References v8::internal::HeapObject::GetHeap(), HasPrototypeTransitions(), and HasTransitionArray().
Referenced by GetPrototypeTransition(), PutPrototypeTransition(), SetPrototypeTransitions(), and ZapPrototypeTransitions().
Definition at line 5170 of file objects-inl.h.
Referenced by LookupTransition(), TransitionToAccessorProperty(), TransitionToDataProperty(), and TryUpdateInternal().
|
inline |
Definition at line 4520 of file objects-inl.h.
References v8::internal::HeapObject::GetIsolate(), and v8::internal::Isolate::heap().
Referenced by v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit().
|
inline |
Definition at line 5768 of file objects.h.
References v8::internal::IsDictionaryElementsKind().
|
inline |
Definition at line 5760 of file objects.h.
References v8::internal::IsExternalArrayElementsKind().
Referenced by GetInitialElements().
|
inline |
Definition at line 5748 of file objects.h.
References v8::internal::IsFastDoubleElementsKind().
Referenced by GetInitialElements().
|
inline |
Definition at line 5752 of file objects.h.
References v8::internal::IsFastElementsKind().
|
inline |
Definition at line 5740 of file objects.h.
References v8::internal::IsFastObjectElementsKind().
Referenced by v8::internal::JSFunction::EnsureHasInitialMap().
|
inline |
Definition at line 5735 of file objects.h.
References v8::internal::IsFastSmiElementsKind().
|
inline |
Definition at line 5744 of file objects.h.
References v8::internal::IsFastSmiOrObjectElementsKind().
Referenced by GetInitialElements().
|
inline |
Definition at line 5764 of file objects.h.
References v8::internal::IsFixedTypedArrayElementsKind().
Referenced by GetInitialElements().
|
inline |
Definition at line 5691 of file objects.h.
Referenced by v8::internal::JSObject::HasIndexedInterceptor().
|
inline |
Definition at line 4455 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by v8::internal::CheckEquivalent(), and v8::internal::HandleApiCallAsFunctionOrConstructor().
|
inline |
Definition at line 5682 of file objects.h.
Referenced by v8::internal::JSObject::HasNamedInterceptor().
|
inline |
Definition at line 4372 of file objects-inl.h.
References bit_field(), and kHasNonInstancePrototype.
Referenced by v8::internal::JSFunction::has_prototype().
|
inline |
|
inline |
Definition at line 5772 of file objects.h.
References v8::internal::DICTIONARY_ELEMENTS, and v8::internal::SLOPPY_ARGUMENTS_ELEMENTS.
|
inline |
Definition at line 5145 of file objects-inl.h.
References HasTransitionArray().
Referenced by CopyAsElementsKind(), and v8::internal::HashTable< MapCache, MapCacheShape, HashTableKey * >::New().
int v8::internal::Map::Hash | ( | ) |
Definition at line 9019 of file objects.cc.
References bit_field2(), kPageSizeBits, and v8::internal::ObjectAddressForHashing().
Referenced by v8::internal::NormalizedMapCache::GetIndex().
|
inline |
Definition at line 5205 of file objects-inl.h.
References HasTransitionArray().
Referenced by GetPrototypeTransitions(), and SetPrototypeTransitions().
|
inline |
Definition at line 5150 of file objects-inl.h.
References kTransitionsOrBackPointerOffset, and READ_FIELD.
Referenced by CanHaveMoreTransitions(), v8::internal::TransitionArray::CopyInsert(), ExpectedTransitionKey(), FindLastMatchMap(), FindTransitionToField(), GetPrototypeTransitions(), HasElementsTransition(), HasPrototypeTransitions(), SearchTransition(), and v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit().
|
inline |
Definition at line 5245 of file objects-inl.h.
References DCHECK, kTransitionsOrBackPointerOffset, and WRITE_FIELD.
|
inline |
Definition at line 5102 of file objects-inl.h.
References v8::internal::DescriptorArray::number_of_descriptors(), and SetNumberOfOwnDescriptors().
|
inline |
|
inline |
Definition at line 4241 of file objects-inl.h.
References kInObjectPropertiesOffset, and READ_BYTE_FIELD.
Referenced by v8::internal::JSObject::AllocateStorageForMap(), CopyDropDescriptors(), CopyNormalized(), EquivalentToForNormalization(), GetInObjectPropertyOffset(), v8::internal::JSObject::GetInternalFieldCount(), and TooManyFastProperties().
|
inline |
Definition at line 4235 of file objects-inl.h.
References kInstanceSizeOffset, v8::internal::kPointerSizeLog2, and NOBARRIER_READ_BYTE_FIELD.
Referenced by CopyDropDescriptors(), CopyNormalized(), GetInObjectPropertyOffset(), v8::internal::JSObject::InitializeBody(), v8::internal::JSObject::MigrateFastToSlow(), v8::internal::HeapObject::SizeFromMap(), and v8::internal::JSObject::BodyDescriptor::SizeOf().
|
inline |
Definition at line 4323 of file objects-inl.h.
References kInstanceTypeOffset, and READ_BYTE_FIELD.
Referenced by v8::internal::Heap::AllowedToBeMigrated(), v8::internal::CheckEquivalent(), v8::DumpHeapConstants(), v8::internal::ElementsKindForArray(), v8::internal::JSObject::GetHeaderSize(), v8::internal::V8HeapExplorer::GetSystemEntryName(), v8::internal::String::HasOnlyOneByteChars(), v8::internal::String::IsOneByteRepresentation(), v8::internal::String::IsOneByteRepresentationUnderneath(), v8::internal::String::IsTwoByteRepresentation(), v8::internal::String::IsTwoByteRepresentationUnderneath(), v8::internal::HeapObject::MayContainRawValues(), v8::internal::ConsStringIteratorOp::NextLeaf(), RawCopy(), v8::internal::NewSpace::RecordAllocation(), v8::internal::NewSpace::RecordPromotion(), v8::internal::RUNTIME_FUNCTION(), v8::internal::ConsStringIteratorOp::Search(), v8::internal::Serializer::ObjectSerializer::Serialize(), SetBackPointer(), v8::internal::JSFunction::SetInstancePrototype(), v8::internal::HeapObject::SizeFromMap(), and v8::internal::Heap::UpdateAllocationSiteFeedback().
bool v8::internal::Map::InstancesNeedRewriting | ( | Map * | target, |
int | target_number_of_fields, | ||
int | target_inobject, | ||
int | target_unused, | ||
int * | old_number_of_fields | ||
) |
Definition at line 1844 of file objects.cc.
|
inline |
Definition at line 4396 of file objects-inl.h.
References bit_field(), and kIsAccessCheckNeeded.
|
inline |
Definition at line 4465 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by v8::internal::JSObject::JSObjectShortPrint(), and Update().
|
inline |
Definition at line 4430 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by PrepareForDataProperty(), PutPrototypeTransition(), RawCopy(), ReconfigureDataProperty(), TransitionToAccessorProperty(), and TransitionToDataProperty().
|
inline |
Definition at line 4409 of file objects-inl.h.
References bit_field2(), and kIsExtensible.
|
inline |
Definition at line 4505 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by v8::internal::CheckEquivalent().
|
inline |
Definition at line 4475 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
|
inline |
Definition at line 5714 of file objects.h.
Referenced by CopyForObserved().
|
inline |
Definition at line 4418 of file objects-inl.h.
References bit_field2(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by CopyForObserved(), CopyReplaceDescriptors(), PutPrototypeTransition(), TooManyFastProperties(), and TransitionToAccessorProperty().
|
inline |
Definition at line 4515 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by CanOmitMapChecks(), and NotifyLeafMapLayoutChange().
|
inline |
Definition at line 5705 of file objects.h.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 6138 of file objects.h.
References v8::internal::JS_BUILTINS_OBJECT_TYPE, and v8::internal::JS_GLOBAL_OBJECT_TYPE.
Referenced by TransitionToAccessorProperty().
|
inline |
Definition at line 6135 of file objects.h.
References v8::internal::JS_GLOBAL_OBJECT_TYPE.
|
inline |
|
inline |
Definition at line 6125 of file objects.h.
References v8::internal::FIRST_JS_OBJECT_TYPE.
Referenced by v8::internal::AccessorInfo::IsCompatibleReceiverType(), and v8::internal::FunctionTemplateInfo::IsTemplateFor().
|
inline |
Definition at line 6128 of file objects.h.
References v8::internal::FIRST_JS_PROXY_TYPE, and v8::internal::LAST_JS_PROXY_TYPE.
bool v8::internal::Map::IsMapInArrayPrototypeChain | ( | ) |
Definition at line 3280 of file objects.cc.
References v8::internal::HeapObject::GetIsolate().
|
static |
Definition at line 12775 of file objects.cc.
References v8::internal::IsFastHoleyElementsKind(), and v8::internal::IsMoreGeneralElementsKindTransition().
Referenced by v8::internal::HOptimizedGraphBuilder::HandlePolymorphicElementAccess(), and v8::internal::TransitionElements().
|
inline |
Definition at line 5938 of file objects.h.
References DCHECK.
Referenced by CanBeDeprecated(), v8::internal::TransitionArray::GetKey(), GetLastDescriptorDetails(), v8::internal::JSObject::MigrateToNewProperty(), and v8::internal::BASE_EMBEDDED< Visitor >::TransitionResult().
|
inline |
Definition at line 2872 of file objects-inl.h.
References v8::internal::DescriptorArray::GetDetails(), v8::internal::DescriptorArray::kNotFound, and name.
Map * v8::internal::Map::LookupElementsTransitionMap | ( | ElementsKind | elements_kind | ) |
Definition at line 3273 of file objects.cc.
References elements_kind(), v8::internal::FindClosestElementsTransition(), and NULL.
Referenced by v8::internal::IC::IsTransitionOfMonomorphicTarget().
|
inline |
Definition at line 2882 of file objects-inl.h.
References GetTransition(), v8::internal::TransitionArray::kNotFound, and SearchTransition().
|
inline |
Definition at line 4510 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
Referenced by NotifyLeafMapLayoutChange().
int v8::internal::Map::NextFreePropertyIndex | ( | ) |
Definition at line 5663 of file objects.cc.
References v8::internal::FIELD, v8::internal::DescriptorArray::GetFieldIndex(), and v8::internal::DescriptorArray::GetType().
|
static |
Definition at line 6398 of file objects.cc.
References v8::internal::Handle< T >::cast(), CopyNormalized(), v8::internal::Isolate::counters(), DCHECK, v8::internal::FLAG_enable_slow_asserts, kCodeCacheOffset, kDependentCodeOffset, v8::internal::kPointerSize, kSize, mode(), v8::internal::Isolate::native_context(), and v8::internal::HeapObject::STATIC_ASSERT().
Referenced by v8::internal::JSObject::NormalizeProperties(), TransitionToAccessorProperty(), and TransitionToDataProperty().
|
inlineprivate |
Definition at line 4539 of file objects-inl.h.
References v8::internal::dependent_code, v8::internal::HeapObject::GetIsolate(), is_stable(), v8::internal::DependentCode::kPrototypeCheckGroup, and mark_unstable().
Referenced by CopyDropDescriptors().
int v8::internal::Map::NumberOfDescribedProperties | ( | DescriptorFlag | which = OWN_DESCRIPTORS , |
PropertyAttributes | filter = NONE |
||
) |
Definition at line 5646 of file objects.cc.
References v8::internal::ALL_DESCRIPTORS, v8::internal::FilterKey(), v8::internal::DescriptorArray::GetDetails(), v8::internal::DescriptorArray::GetKey(), and v8::internal::DescriptorArray::number_of_descriptors().
Referenced by v8::internal::JSObject::NumberOfOwnProperties().
int v8::internal::Map::NumberOfFields | ( | ) |
Definition at line 2095 of file objects.cc.
References v8::internal::FIELD, and v8::internal::DescriptorArray::GetDetails().
Referenced by TooManyFastProperties().
|
inline |
Definition at line 5944 of file objects.h.
Referenced by AppendCallbackDescriptors(), AppendDescriptor(), Copy(), CopyAddDescriptor(), CopyForFreeze(), CopyReplaceDescriptor(), EnsureDescriptorSlack(), v8::internal::V8HeapExplorer::ExtractPropertyReferences(), FindFieldOwner(), GeneralizeAllFieldRepresentations(), GeneralizeFieldType(), v8::internal::GetEnumPropertyKeys(), v8::internal::JSObject::GetOwnPropertyNames(), v8::internal::JSObject::MigrateFastToSlow(), v8::internal::JSObject::NumberOfOwnProperties(), v8::internal::JSObject::PrintInstanceMigration(), ShareDescriptor(), v8::internal::JSObject::SlowReverseLookup(), TransitionToAccessorProperty(), and TryUpdateInternal().
|
inline |
Definition at line 5907 of file objects.h.
References v8::internal::FixedArray::get(), and v8::internal::FixedArrayBase::length().
Referenced by GetPrototypeTransition(), PutPrototypeTransition(), and SetPrototypeTransitions().
|
inline |
Definition at line 4445 of file objects-inl.h.
References bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by CopyAddDescriptor(), CopyAsElementsKind(), CopyForObserved(), EnsureDescriptorSlack(), set_owns_descriptors(), and v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit().
|
inline |
Definition at line 4246 of file objects-inl.h.
References kPreAllocatedPropertyFieldsOffset, and READ_BYTE_FIELD.
Referenced by CopyDropDescriptors(), and v8::internal::JSObject::InitializeBody().
|
static |
Definition at line 6738 of file objects.cc.
References v8::internal::FORCE_FIELD, v8::internal::HeapObject::GetIsolate(), is_dictionary_map(), and v8::internal::HeapObject::map().
Referenced by TransitionToDataProperty().
|
private |
Definition at line 1303 of file objects.cc.
References constructor_name(), file(), v8::internal::HeapObject::GetIsolate(), v8::internal::Representation::Mnemonic(), name, v8::internal::String::PrintOn(), v8::internal::TypeImpl< Config >::PrintTo(), v8::internal::JavaScriptFrame::PrintTop(), and v8::internal::TypeImpl< Config >::SEMANTIC_DIM.
Referenced by CopyGeneralizeAllRepresentations(), and GeneralizeFieldType().
|
staticprivate |
Definition at line 11285 of file objects.cc.
References v8::internal::FixedArray::CopySize(), DCHECK, GetPrototypeTransitions(), is_dictionary_map(), is_prototype_map(), kMaxCachedPrototypeTransitions, kProtoTransitionElementsPerEntry, kProtoTransitionHeaderSize, kProtoTransitionMapOffset, kProtoTransitionPrototypeOffset, v8::internal::HeapObject::map(), NumberOfProtoTransitions(), SetNumberOfProtoTransitions(), and SetPrototypeTransitions().
Definition at line 6375 of file objects.cc.
References bit_field(), bit_field2(), bit_field3(), v8::internal::Isolate::factory(), v8::internal::HeapObject::GetIsolate(), instance_type(), is_dictionary_map(), v8::internal::kInvalidEnumCacheSentinel, v8::internal::JSFunction::kNoSlackTracking, and v8::internal::HeapObject::map().
|
static |
Definition at line 6804 of file objects.cc.
References DCHECK, v8::internal::FORCE_FIELD, is_dictionary_map(), and v8::internal::HeapObject::map().
Definition at line 7066 of file objects.cc.
|
inline |
Definition at line 5175 of file objects-inl.h.
References HasTransitionArray(), v8::internal::TransitionArray::kNotFound, and name.
Referenced by LookupTransition(), TransitionToAccessorProperty(), TransitionToDataProperty(), and TryUpdateInternal().
|
inline |
Definition at line 4348 of file objects-inl.h.
References kBitFieldOffset, and WRITE_BYTE_FIELD.
Referenced by set_function_with_prototype(), set_is_access_check_needed(), and set_non_instance_prototype().
|
inline |
Definition at line 4358 of file objects-inl.h.
References kBitField2Offset, and WRITE_BYTE_FIELD.
Referenced by set_is_extensible(), and set_is_prototype_map().
|
inline |
Definition at line 5112 of file objects-inl.h.
References v8::internal::kInt32Size, v8::internal::kPointerSize, and WRITE_UINT32_FIELD.
Referenced by deprecate(), freeze(), mark_unstable(), set_construction_count(), set_dictionary_map(), set_done_inobject_slack_tracking(), set_has_instance_call_handler(), set_migration_target(), and set_owns_descriptors().
|
inline |
Definition at line 4490 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
Referenced by v8::internal::JSFunction::CompleteInobjectSlackTracking(), and v8::internal::JSFunction::StartInobjectSlackTracking().
|
inline |
Definition at line 4423 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
Definition at line 4480 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
Referenced by v8::internal::JSFunction::StartInobjectSlackTracking().
|
inline |
Definition at line 5723 of file objects.h.
References DCHECK, v8::internal::kElementsKindCount, v8::internal::BitFieldBase< T, shift, size, U >::kSize, and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
Definition at line 4377 of file objects-inl.h.
References bit_field(), set_bit_field(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
|
inline |
Definition at line 4450 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
|
inline |
Definition at line 4309 of file objects-inl.h.
References DCHECK, kInObjectPropertiesOffset, and WRITE_BYTE_FIELD.
Referenced by v8::internal::JSFunction::EnsureHasInitialMap().
|
inline |
Definition at line 4300 of file objects-inl.h.
References DCHECK, DCHECK_EQ, kInstanceSizeOffset, v8::internal::kPointerSize, v8::internal::kPointerSizeLog2, and NOBARRIER_WRITE_BYTE_FIELD.
|
inline |
Definition at line 4328 of file objects-inl.h.
References kInstanceTypeOffset, and WRITE_BYTE_FIELD.
|
inline |
Definition at line 4387 of file objects-inl.h.
References bit_field(), kIsAccessCheckNeeded, and set_bit_field().
|
inline |
Definition at line 4401 of file objects-inl.h.
References bit_field2(), kIsExtensible, and set_bit_field2().
|
inline |
|
inline |
|
inline |
Definition at line 4414 of file objects-inl.h.
References bit_field2(), set_bit_field2(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
|
inline |
Definition at line 4470 of file objects-inl.h.
References bit_field3(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
Referenced by v8::internal::JSObject::MigrateInstance().
|
inline |
Definition at line 4363 of file objects-inl.h.
References bit_field(), kHasNonInstancePrototype, and set_bit_field().
|
inline |
Definition at line 4440 of file objects-inl.h.
References bit_field3(), owns_descriptors(), set_bit_field3(), and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
Definition at line 4315 of file objects-inl.h.
References DCHECK, kPreAllocatedPropertyFieldsOffset, and WRITE_BYTE_FIELD.
|
inline |
Definition at line 4338 of file objects-inl.h.
References kUnusedPropertyFieldsOffset, v8::internal::Min(), and WRITE_BYTE_FIELD.
Referenced by v8::internal::JSFunction::EnsureHasInitialMap().
|
inline |
Definition at line 4229 of file objects-inl.h.
References DCHECK, kVisitorIdOffset, and WRITE_BYTE_FIELD.
|
inline |
Definition at line 5251 of file objects-inl.h.
References v8::internal::TransitionArray::cast(), CONDITIONAL_WRITE_BARRIER, DCHECK, v8::internal::FIRST_JS_RECEIVER_TYPE, GetBackPointer(), v8::internal::HeapObject::GetHeap(), instance_type(), kTransitionsOrBackPointerOffset, mode(), READ_FIELD, v8::internal::TransitionArray::set_back_pointer_storage(), and WRITE_FIELD.
Referenced by v8::internal::MarkCompactCollector::ClearMapBackPointer().
|
inline |
Definition at line 5959 of file objects.h.
References DCHECK, and v8::internal::kInvalidEnumCacheSentinel.
Referenced by DeprecateTarget(), and v8::internal::GetEnumPropertyKeys().
|
inline |
Definition at line 5948 of file objects.h.
References DCHECK.
Referenced by AppendCallbackDescriptors(), AppendDescriptor(), and InitializeDescriptors().
|
inline |
Definition at line 5914 of file objects.h.
References DCHECK, v8::internal::Smi::FromInt(), v8::internal::FixedArrayBase::length(), v8::internal::FixedArray::set(), and v8::internal::Smi::value().
Referenced by PutPrototypeTransition(), and SetPrototypeTransitions().
|
inlinestaticprivate |
Definition at line 5190 of file objects-inl.h.
References DCHECK, v8::internal::EnsureHasTransitionArray(), GetPrototypeTransitions(), HasPrototypeTransitions(), v8::internal::HeapObject::map(), NumberOfProtoTransitions(), SetNumberOfProtoTransitions(), SetPrototypeTransitions(), and ZapPrototypeTransitions().
Referenced by PutPrototypeTransition(), and SetPrototypeTransitions().
|
staticprivate |
Definition at line 6483 of file objects.cc.
References v8::internal::DescriptorArray::Allocate(), DCHECK, v8::internal::HeapObject::GetIsolate(), v8::internal::handle(), v8::internal::HeapObject::map(), name, NumberOfOwnDescriptors(), and v8::internal::SIMPLE_TRANSITION.
v8::internal::Map::STATIC_ASSERT | ( | kDescriptorIndexBitCount+ | kDescriptorIndexBitCount = =20 | ) |
v8::internal::Map::STATIC_ASSERT | ( | kInstanceTypeAndBitFieldOffset | = =Internals::kMapInstanceTypeAndBitFieldOffset | ) |
|
inline |
Definition at line 2098 of file objects-inl.h.
References v8::internal::Object::CERTAINLY_NOT_STORE_FROM_KEYED, inobject_properties(), is_prototype_map(), v8::internal::Max(), NumberOfFields(), and unused_property_fields().
Referenced by TransitionToAccessorProperty(), and TransitionToDataProperty().
|
static |
Definition at line 3321 of file objects.cc.
References v8::internal::Isolate::context(), elements_kind(), v8::internal::FixedArray::get(), v8::internal::HeapObject::GetIsolate(), v8::internal::handle(), v8::internal::HeapObject::map(), and v8::internal::Context::native_context().
Referenced by v8::internal::KeyedStoreIC::ComputeTransitionedMap(), v8::internal::JSObject::GetElementsTransitionMap(), and v8::internal::JSTypedArray::MaterializeArrayBuffer().
|
staticprivate |
Definition at line 3344 of file objects.cc.
References elements_kind(), and v8::internal::HeapObject::map().
|
static |
Definition at line 6816 of file objects.cc.
References v8::internal::CALLBACKS, v8::internal::Handle< T >::cast(), v8::internal::Object::CERTAINLY_NOT_STORE_FROM_KEYED, v8::internal::CLEAR_INOBJECT_PROPERTIES, v8::internal::AccessorPair::Copy(), CopyInsertDescriptor(), v8::internal::Isolate::factory(), v8::internal::flag, v8::internal::DescriptorArray::GetDetails(), v8::internal::DescriptorArray::GetKey(), GetTransition(), v8::internal::DescriptorArray::GetValue(), v8::internal::INSERT_TRANSITION, is_dictionary_map(), is_prototype_map(), IsGlobalObjectMap(), v8::internal::KEEP_INOBJECT_PROPERTIES, v8::internal::kMaxNumberOfDescriptors, v8::internal::DescriptorArray::kNotFound, v8::internal::TransitionArray::kNotFound, v8::internal::HeapObject::map(), mode(), name, Normalize(), NumberOfOwnDescriptors(), SearchTransition(), and TooManyFastProperties().
|
static |
Definition at line 6759 of file objects.cc.
References v8::internal::CLEAR_INOBJECT_PROPERTIES, CopyWithConstant(), CopyWithField(), v8::internal::flag, v8::internal::DescriptorArray::GetDetails(), GetTransition(), v8::internal::INSERT_TRANSITION, is_dictionary_map(), v8::internal::TransitionArray::kNotFound, v8::internal::HeapObject::map(), name, Normalize(), PrepareForDataProperty(), SearchTransition(), and TooManyFastProperties().
|
static |
Definition at line 11646 of file objects.cc.
References v8::internal::Handle< T >::is_null(), and v8::internal::HeapObject::map().
Referenced by v8::internal::JSObject::SetPrototype().
void v8::internal::Map::TraverseTransitionTree | ( | TraverseCallback | callback, |
void * | data | ||
) |
Definition at line 7257 of file objects.cc.
References v8::internal::TraversableMap::ChildIteratorNext(), v8::internal::TraversableMap::GetAndResetParent(), NULL, and v8::internal::TraversableMap::SetParent().
Referenced by v8::internal::JSFunction::CompleteInobjectSlackTracking().
|
static |
Definition at line 2691 of file objects.cc.
References v8::internal::HeapObject::map(), and v8::internal::JSObject::TryMigrateInstance().
Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::AddMapIfMissing(), v8::internal::TypeFeedbackOracle::CompareType(), and v8::internal::JSObject::TryMigrateInstance().
|
static |
Definition at line 2714 of file objects.cc.
References v8::internal::CALLBACKS, v8::internal::TypeImpl< Config >::cast(), v8::internal::CONSTANT, v8::internal::FIELD, v8::internal::DescriptorArray::GetDetails(), v8::internal::DescriptorArray::GetKey(), GetTransition(), v8::internal::DescriptorArray::GetValue(), v8::internal::handle(), v8::internal::Is(), v8::internal::TransitionArray::kNotFound, v8::internal::NORMAL, NumberOfOwnDescriptors(), SearchTransition(), and UNREACHABLE.
|
inline |
Definition at line 4333 of file objects-inl.h.
References kUnusedPropertyFieldsOffset, and READ_BYTE_FIELD.
Referenced by v8::internal::JSFunction::CompleteInobjectSlackTracking(), CopyDropDescriptors(), CopyInstallDescriptors(), v8::internal::JSFunction::StartInobjectSlackTracking(), and TooManyFastProperties().
Definition at line 2705 of file objects.cc.
References v8::internal::ALLOW_AS_CONSTANT, v8::internal::HeapObject::GetIsolate(), is_deprecated(), v8::internal::HeapObject::map(), v8::None, and v8::internal::Representation::None().
Referenced by v8::internal::JSObject::MigrateInstance().
|
static |
Definition at line 7030 of file objects.cc.
References v8::internal::Isolate::factory(), v8::internal::HeapObject::GetIsolate(), v8::internal::HeapObject::map(), name, and v8::internal::CodeCache::Update().
Referenced by v8::internal::CompareICStub::AddToSpecialCache(), v8::internal::LoadIC::CompileHandler(), v8::internal::PropertyICCompiler::ComputeCompareNil(), v8::internal::IC::ComputeHandler(), v8::internal::PropertyICCompiler::ComputeKeyedLoadMonomorphic(), v8::internal::PropertyICCompiler::ComputeKeyedStoreMonomorphic(), v8::internal::NamedLoadHandlerCompiler::ComputeLoadNonexistent(), v8::internal::PropertyICCompiler::ComputeMonomorphic(), and v8::internal::HeapObject::UpdateMapCodeCache().
|
private |
Definition at line 2277 of file objects.cc.
References v8::internal::FIELD, v8::internal::TransitionArray::GetTarget(), name, v8::internal::TransitionArray::number_of_transitions(), and UpdateFieldType().
Referenced by UpdateFieldType().
|
inline |
Definition at line 4224 of file objects-inl.h.
References kVisitorIdOffset, and READ_BYTE_FIELD.
|
private |
Definition at line 11336 of file objects.cc.
References v8::internal::FixedArray::data_start(), v8::internal::HeapObject::GetHeap(), GetPrototypeTransitions(), v8::internal::FixedArrayBase::length(), and v8::internal::MemsetPointer().
Referenced by SetPrototypeTransitions().
|
private |
Definition at line 11323 of file objects.cc.
References v8::internal::FixedArray::data_start(), v8::internal::HeapObject::GetHeap(), and v8::internal::FixedArrayBase::length().
|
static |
Definition at line 6233 of file objects.h.
Referenced by bit_field2(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapBitField2(), and set_bit_field2().
|
static |
Definition at line 6189 of file objects.h.
Referenced by bit_field3().
|
static |
Definition at line 6228 of file objects.h.
Referenced by bit_field(), v8::internal::LCodeGen::EmitIsObject(), v8::internal::LCodeGen::EmitTypeofIs(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapBitField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceTypeAndBitField(), and set_bit_field().
|
static |
Definition at line 6200 of file objects.h.
Referenced by ClearCodeCache(), v8::internal::V8HeapExplorer::ExtractMapReferences(), and Normalize().
|
static |
|
static |
Definition at line 6201 of file objects.h.
Referenced by v8::internal::V8HeapExplorer::ExtractMapReferences(), v8::internal::StaticMarkingVisitor< StaticVisitor >::MarkMapContents(), and Normalize().
|
static |
Definition at line 6198 of file objects.h.
Referenced by v8::internal::CodeStubGraphBuilder< Stub >::BuildCodeStub(), and v8::internal::V8HeapExplorer::ExtractMapReferences().
|
staticprivate |
|
static |
Definition at line 6243 of file objects.h.
Referenced by v8::internal::CodeStubGraphBuilder< KeyedLoadGenericStub >::BuildCodeStub().
|
static |
Definition at line 6242 of file objects.h.
Referenced by v8::internal::CodeStubGraphBuilder< KeyedLoadGenericStub >::BuildCodeStub().
|
static |
Definition at line 6240 of file objects.h.
Referenced by has_non_instance_prototype(), and set_non_instance_prototype().
|
static |
|
static |
Definition at line 6212 of file objects.h.
Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInObjectProperties(), inobject_properties(), and set_inobject_properties().
|
static |
|
static |
Definition at line 6210 of file objects.h.
Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceSize(), instance_size(), and set_instance_size().
|
static |
|
static |
Definition at line 6231 of file objects.h.
Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceTypeAndBitField().
|
static |
Definition at line 6229 of file objects.h.
Referenced by v8::internal::LCodeGen::EmitClassOfTest(), v8::internal::LCodeGen::EmitIsObject(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceTypeAndBitField(), instance_type(), v8::internal::MacroAssembler::IsInstanceJSObjectType(), v8::internal::MacroAssembler::IsObjectJSStringType(), v8::internal::MacroAssembler::IsObjectStringType(), and set_instance_type().
|
static |
Definition at line 6246 of file objects.h.
Referenced by v8::internal::CodeStubGraphBuilder< KeyedLoadGenericStub >::BuildCodeStub(), is_access_check_needed(), and set_is_access_check_needed().
|
static |
Definition at line 6250 of file objects.h.
Referenced by v8::internal::Heap::AllocateMap(), is_extensible(), and set_is_extensible().
|
static |
|
static |
Definition at line 6244 of file objects.h.
Referenced by v8::internal::LCodeGen::EmitIsObject(), and v8::internal::LCodeGen::EmitTypeofIs().
|
static |
Definition at line 6180 of file objects.h.
Referenced by PutPrototypeTransition().
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 6206 of file objects.h.
Referenced by v8::internal::StoreBuffer::IteratePointersToNewSpace(), and v8::internal::StaticMarkingVisitor< StaticVisitor >::MarkMapContents().
Definition at line 6207 of file objects.h.
Referenced by v8::internal::StoreBuffer::IteratePointersToNewSpace(), and v8::internal::StaticMarkingVisitor< StaticVisitor >::MarkMapContents().
|
static |
|
static |
Definition at line 6215 of file objects.h.
Referenced by pre_allocated_property_fields(), and set_pre_allocated_property_fields().
|
static |
Definition at line 5903 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::ClearNonLivePrototypeTransitions(), GetPrototypeTransition(), v8::internal::IntrusivePrototypeTransitionIterator::IndexFor(), and PutPrototypeTransition().
|
static |
Definition at line 5901 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::ClearNonLivePrototypeTransitions(), GetPrototypeTransition(), v8::internal::IntrusivePrototypeTransitionIterator::IndexFor(), and PutPrototypeTransition().
|
static |
Definition at line 5905 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::ClearNonLivePrototypeTransitions(), GetPrototypeTransition(), v8::internal::IntrusivePrototypeTransitionIterator::IndexFor(), and PutPrototypeTransition().
|
static |
Definition at line 5902 of file objects.h.
Referenced by v8::internal::IntrusivePrototypeTransitionIterator::NumberOfTransitions().
|
static |
Definition at line 5904 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::ClearNonLivePrototypeTransitions(), GetPrototypeTransition(), and PutPrototypeTransition().
|
static |
Definition at line 6190 of file objects.h.
Referenced by v8::internal::V8HeapExplorer::ExtractMapReferences().
|
static |
Definition at line 6202 of file objects.h.
Referenced by v8::internal::Heap::AllocateMap(), v8::internal::Heap::AllocatePartialMap(), v8::internal::Heap::CreateInitialMaps(), Normalize(), and v8::internal::MapSpace::RoundSizeDownToObjectAlignment().
|
static |
|
static |
Definition at line 6196 of file objects.h.
Referenced by v8::internal::V8HeapExplorer::ExtractMapReferences(), GetBackPointer(), HasTransitionArray(), init_back_pointer(), and SetBackPointer().
|
static |
Definition at line 6234 of file objects.h.
Referenced by set_unused_property_fields(), and unused_property_fields().
|
static |
Definition at line 6218 of file objects.h.
Referenced by set_visitor_id(), and visitor_id().