v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <objects.h>
Data Structures | |
class | Deprecated |
class | DictionaryMap |
class | EnumLengthBits |
class | FunctionWithPrototype |
class | HasInstanceCallHandler |
class | IsFrozen |
class | IsMigrationTarget |
class | IsShared |
class | IsUnstable |
class | NumberOfOwnDescriptorsBits |
class | OwnsDescriptors |
Public Types | |
typedef void(* | TraverseCallback )(Map *map, void *data) |
typedef FixedBodyDescriptor < kPointerFieldsBeginOffset, kPointerFieldsEndOffset, kSize > | BodyDescriptor |
Public Types inherited from Object | |
enum | ValueType { OPTIMAL_REPRESENTATION, FORCE_TAGGED } |
Additional Inherited Members | |
Protected Member Functions inherited from HeapObject | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
void AddDependentCode | ( | DependentCode::DependencyGroup | group, |
Handle< Code > | code | ||
) |
Definition at line 11505 of file objects.cc.
References v8::internal::dependent_code, and DependentCode::Insert().
void AddDependentCompilationInfo | ( | DependentCode::DependencyGroup | group, |
CompilationInfo * | info | ||
) |
Definition at line 11495 of file objects.cc.
References CompilationInfo::dependencies(), v8::internal::dependent_code, DependentCode::Insert(), CompilationInfo::object_wrapper(), and CompilationInfo::zone().
|
static |
Definition at line 2458 of file objects.cc.
References CALL_HEAP_FUNCTION.
Referenced by Map::CopyForObserved(), Map::CopyInstallDescriptors(), Map::CopyReplaceDescriptors(), Map::set_elements_transition_map(), and Map::ShareDescriptor().
|
inline |
Definition at line 4827 of file objects-inl.h.
References Map::GetBackPointer(), Map::HasTransitionArray(), and TransitionArray::NewWith().
Definition at line 3173 of file objects.cc.
References ASSERT.
Referenced by Factory::CreateApiFunction().
|
inline |
Definition at line 4781 of file objects-inl.h.
References DescriptorArray::Append(), ASSERT, DescriptorArray::number_of_descriptors(), Map::NumberOfOwnDescriptors(), and Map::SetNumberOfOwnDescriptors().
MaybeObject * AsElementsKind | ( | ElementsKind | kind | ) |
Definition at line 3360 of file objects.cc.
References Map::elements_kind().
Referenced by JSObject::GetElementsTransitionMapSlow().
|
static |
Definition at line 3353 of file objects.cc.
References CALL_HEAP_FUNCTION.
|
inline |
Definition at line 4111 of file objects-inl.h.
References Map::bit_field2(), and Map::kAttachedToSharedFunctionInfo.
|
inline |
Definition at line 4032 of file objects-inl.h.
References Map::kBitFieldOffset, and READ_BYTE_FIELD.
Referenced by Map::has_non_instance_prototype(), Map::is_access_check_needed(), Map::RawCopy(), Map::set_is_access_check_needed(), and Map::set_non_instance_prototype().
|
inline |
Definition at line 4042 of file objects-inl.h.
References Map::kBitField2Offset, and READ_BYTE_FIELD.
Referenced by Map::attached_to_shared_function_info(), SharedFunctionInfo::AttachInitialMap(), SharedFunctionInfo::DetachInitialMap(), Map::Hash(), Map::is_extensible(), Map::RawCopy(), Map::set_attached_to_shared_function_info(), and Map::set_is_extensible().
|
inline |
Definition at line 4762 of file objects-inl.h.
References Smi::cast(), Map::kBitField3Offset, READ_FIELD, and Smi::value().
Referenced by Map::deprecate(), Map::freeze(), Map::function_with_prototype(), Map::has_instance_call_handler(), Map::is_deprecated(), Map::is_dictionary_map(), Map::is_frozen(), Map::is_migration_target(), Map::is_shared(), Map::is_stable(), Map::mark_unstable(), Map::owns_descriptors(), Map::RawCopy(), Map::set_dictionary_map(), Map::set_function_with_prototype(), Map::set_has_instance_call_handler(), Map::set_is_shared(), Map::set_migration_target(), and Map::set_owns_descriptors().
|
inline |
Definition at line 4207 of file objects-inl.h.
References v8::internal::CONSTANT, and Map::LastAdded().
|
inline |
Definition at line 4819 of file objects-inl.h.
References Map::HasTransitionArray(), Page::kMaxRegularHeapObjectSize, TransitionArray::kTransitionSize, and FixedArray::SizeFor().
Referenced by Map::CopyAddDescriptor(), and Map::CopyReplaceDescriptors().
|
inline |
Definition at line 4231 of file objects-inl.h.
References Map::is_stable().
|
inline |
Definition at line 6357 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().
Referenced by Code::IsWeakObjectInOptimizedCode().
Referenced by v8::internal::ACCESSORS(), HeapTypeConfig::as_class(), HeapRep::AsClass(), SharedFunctionInfo::CompleteInobjectSlackTracking(), Heap::CreateApiObjects(), Runtime::CreateArrayLiteralBoilerplate(), Map::DeprecateTarget(), Code::FindAllMaps(), Code::FindAllTypes(), Code::FindFirstMap(), Map::FindRootMap(), JSObject::GetElementsTransitionMap(), Map::GetPrototypeTransition(), TransitionArray::GetTarget(), HeapObject::HeapObjectShortPrint(), Code::IsWeakObjectInOptimizedCode(), Heap::MapForExternalArrayType(), Heap::MapForFixedTypedArray(), v8::internal::RUNTIME_FUNCTION(), PartialSerializer::SerializeObject(), Map::ShareDescriptor(), TEST(), and MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit().
|
inline |
Definition at line 6600 of file objects-inl.h.
References ASSERT, Heap::InNewSpace(), Map::kCodeCacheOffset, and WRITE_FIELD.
Referenced by Map::CopyDropDescriptors().
void ClearNonLiveTransitions | ( | Heap * | heap | ) |
Definition at line 9320 of file objects.cc.
References ASSERT, HeapObject::GetHeap(), TransitionArray::GetKey(), TransitionArray::GetKeySlot(), TransitionArray::GetTarget(), Map::HasTransitionArray(), TransitionArray::IsSimpleTransition(), TransitionArray::kTransitionSize, Heap::mark_compact_collector(), DescriptorArray::number_of_descriptors(), TransitionArray::number_of_transitions(), Map::NumberOfOwnDescriptors(), Map::set_owns_descriptors(), TransitionArray::SetKey(), and TransitionArray::SetTarget().
|
inline |
Definition at line 4768 of file objects-inl.h.
References CONDITIONAL_WRITE_BARRIER, Map::GetBackPointer(), Map::HasTransitionArray(), Map::kTransitionsOrBackPointerOffset, Heap::ShouldZapGarbage(), WRITE_FIELD, and Map::ZapTransitions().
String * constructor_name | ( | ) |
Definition at line 1936 of file objects.cc.
References JSObject::cast(), JSFunction::cast(), String::cast(), JSReceiver::constructor_name(), HeapObject::GetHeap(), and String::length().
Referenced by JSReceiver::constructor_name(), Map::PrintGeneralization(), and JSObject::PrintInstanceMigration().
Definition at line 6985 of file objects.cc.
References CALL_HEAP_FUNCTION.
Referenced by v8::internal::RUNTIME_FUNCTION().
MaybeObject * Copy | ( | ) |
Definition at line 6990 of file objects.cc.
References Map::CopyReplaceDescriptors(), DescriptorArray::CopyUpTo(), Map::NumberOfOwnDescriptors(), and v8::internal::OMIT_TRANSITION.
Referenced by Map::CopyAsElementsKind(), Map::CopyForObserved(), Map::CopyGeneralizeAllRepresentations(), JSObject::Freeze(), Factory::NewFunctionPrototype(), JSObject::PreventExtensions(), JSFunction::SetInstancePrototype(), JSObject::SetObserved(), JSObject::SetPrototype(), and JSFunction::SetPrototype().
MaybeObject * CopyAddDescriptor | ( | Descriptor * | descriptor, |
TransitionFlag | flag | ||
) |
Definition at line 7002 of file objects.cc.
References DescriptorArray::Allocate(), DescriptorArray::Append(), Map::CanHaveMoreTransitions(), DescriptorArray::CopyFrom(), Map::CopyReplaceDescriptors(), HeapObject::GetIsolate(), v8::internal::INSERT_TRANSITION, DescriptorArray::number_of_descriptors(), Map::NumberOfOwnDescriptors(), Map::owns_descriptors(), DescriptorArray::Set(), DescriptorArray::SetNumberOfDescriptors(), Map::ShareDescriptor(), v8::internal::SIMPLE_TRANSITION, and DescriptorArray::Sort().
Referenced by Map::CopyInsertDescriptor().
MaybeObject * CopyAsElementsKind | ( | ElementsKind | kind, |
TransitionFlag | flag | ||
) |
Definition at line 6881 of file objects.cc.
References ASSERT, Map::Copy(), Map::CopyDropDescriptors(), v8::internal::DICTIONARY_ELEMENTS, Map::elements_kind(), Map::elements_transition_map(), Map::HasElementsTransition(), Map::InitializeDescriptors(), v8::internal::INSERT_TRANSITION, v8::internal::IsExternalArrayElementsKind(), v8::internal::IsFastElementsKind(), v8::internal::IsMoreGeneralElementsKindTransition(), Map::owns_descriptors(), Map::set_elements_kind(), Map::set_elements_transition_map(), Map::set_owns_descriptors(), and Map::SetBackPointer().
Referenced by JSObject::GetElementsTransitionMapSlow().
Definition at line 6712 of file objects.cc.
References CALL_HEAP_FUNCTION.
Referenced by NameDictionary::TransformPropertiesToFastFor().
MaybeObject * CopyDropDescriptors | ( | ) |
Definition at line 6717 of file objects.cc.
References Map::ClearCodeCache(), HeapObject::GetHeap(), Map::inobject_properties(), Map::instance_size(), Map::NotifyLeafMapLayoutChange(), Map::pre_allocated_property_fields(), Map::RawCopy(), Map::set_inobject_properties(), Map::set_is_shared(), Map::set_pre_allocated_property_fields(), Map::set_unused_property_fields(), and Map::unused_property_fields().
Referenced by Map::CopyAsElementsKind(), Map::CopyForObserved(), Map::CopyInstallDescriptors(), Map::CopyReplaceDescriptors(), Map::CopyWithPreallocatedFieldDescriptors(), Factory::NewGlobalObject(), and Map::ShareDescriptor().
Definition at line 6933 of file objects.cc.
References Map::AddTransition(), ASSERT, Map::Copy(), Map::CopyDropDescriptors(), and v8::internal::FULL_TRANSITION.
Referenced by JSObject::SetObserved().
|
static |
Definition at line 2489 of file objects.cc.
References v8::internal::CONSTANT, Map::Copy(), v8::internal::FIELD, v8::internal::FORCE_FIELD, DescriptorArray::GetDetails(), DescriptorArray::GetKey(), DescriptorArray::InitializeRepresentations(), JSObject::kFieldsAdded, DescriptorArray::Set(), and Representation::Tagged().
Referenced by Map::GeneralizeRepresentation().
MaybeObject * CopyInsertDescriptor | ( | Descriptor * | descriptor, |
TransitionFlag | flag | ||
) |
Definition at line 7044 of file objects.cc.
References Map::CopyAddDescriptor(), Map::CopyReplaceDescriptor(), and DescriptorArray::kNotFound.
|
static |
Definition at line 6849 of file objects.cc.
References Map::AddTransition(), ASSERT, Map::CopyDropDescriptors(), v8::internal::FIELD, v8::internal::handle(), JSObject::kFieldsAdded, and v8::internal::SIMPLE_TRANSITION.
Referenced by Map::GeneralizeRepresentation().
|
static |
Definition at line 6684 of file objects.cc.
References v8::internal::CLEAR_INOBJECT_PROPERTIES, v8::internal::kPointerSize, Map::RawCopy(), and v8::internal::SHARED_NORMALIZED_MAP.
Referenced by NormalizedMapCache::Get().
MaybeObject * CopyReplaceDescriptor | ( | DescriptorArray * | descriptors, |
Descriptor * | descriptor, | ||
int | index, | ||
TransitionFlag | flag | ||
) |
Definition at line 7108 of file objects.cc.
References DescriptorArray::Allocate(), ASSERT, ASSERT_LT, DescriptorArray::CopyFrom(), Map::CopyReplaceDescriptors(), v8::internal::FULL_TRANSITION, HeapObject::GetIsolate(), DescriptorArray::GetKey(), FixedArrayBase::length(), DescriptorArray::number_of_descriptors(), Map::NumberOfOwnDescriptors(), DescriptorArray::Set(), v8::internal::SIMPLE_TRANSITION, and DescriptorArray::Sort().
Referenced by Map::CopyInsertDescriptor(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 6811 of file objects.cc.
References CALL_HEAP_FUNCTION.
Referenced by Map::Copy(), Map::CopyAddDescriptor(), Map::CopyReplaceDescriptor(), Map::CopyWithPreallocatedFieldDescriptors(), and JSObject::Freeze().
MaybeObject * CopyReplaceDescriptors | ( | DescriptorArray * | descriptors, |
TransitionFlag | flag, | ||
Name * | name = NULL , |
||
SimpleTransitionFlag | simple_flag = FULL_TRANSITION |
||
) |
Definition at line 6821 of file objects.cc.
References Map::AddTransition(), ASSERT, Map::CanHaveMoreTransitions(), Map::CopyDropDescriptors(), DescriptorArray::InitializeRepresentations(), v8::internal::INSERT_TRANSITION, and Representation::Tagged().
MaybeObject * CopyWithPreallocatedFieldDescriptors | ( | ) |
Definition at line 6965 of file objects.cc.
References ASSERT, JSFunction::cast(), Map::CopyDropDescriptors(), Map::CopyReplaceDescriptors(), DescriptorArray::CopyUpTo(), JSFunction::initial_map(), Map::NumberOfOwnDescriptors(), v8::internal::OMIT_TRANSITION, and Map::pre_allocated_property_fields().
Definition at line 2784 of file objects.cc.
References JSObject::cast(), Map::CurrentMapForDeprecatedInternal(), and JSObject::TryMigrateInstance().
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::AddMapIfMissing(), and TypeFeedbackOracle::CompareType().
Definition at line 2797 of file objects.cc.
References Map::FindUpdatedMap(), v8::internal::handle(), v8::internal::NULL, and Map::NumberOfOwnDescriptors().
Referenced by Map::CurrentMapForDeprecated(), and JSObject::TryMigrateInstance().
|
inline |
Definition at line 4162 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
Referenced by Map::DeprecateTransitionTree().
void DeprecateTarget | ( | Name * | key, |
DescriptorArray * | new_descriptors | ||
) |
Definition at line 2544 of file objects.cc.
References Map::cast(), Map::DeprecateTransitionTree(), Map::GetBackPointer(), HeapObject::GetHeap(), TransitionArray::GetTarget(), Map::HasTransitionArray(), Heap::incremental_marking(), TransitionArray::kNotFound, Map::NumberOfOwnDescriptors(), IncrementalMarking::RecordWrites(), TransitionArray::Search(), Map::set_owns_descriptors(), and Map::SetEnumLength().
void DeprecateTransitionTree | ( | ) |
Definition at line 2526 of file objects.cc.
References v8::internal::dependent_code, Map::deprecate(), Map::DeprecateTransitionTree(), HeapObject::GetIsolate(), TransitionArray::GetTarget(), Map::HasTransitionArray(), Map::is_deprecated(), DependentCode::kTransitionGroup, Map::NotifyLeafMapLayoutChange(), and TransitionArray::number_of_transitions().
Referenced by Map::DeprecateTarget(), and Map::DeprecateTransitionTree().
bool DictionaryElementsInPrototypeChainOnly | ( | ) |
Definition at line 6197 of file objects.cc.
References JSObject::cast(), Map::elements_kind(), HeapObject::GetHeap(), HeapObject::GetIsolate(), v8::internal::IsDictionaryElementsKind(), and HeapObject::map().
|
inline |
Definition at line 5945 of file objects.h.
Referenced by Map::AsElementsKind(), Map::CopyAsElementsKind(), Map::DictionaryElementsInPrototypeChainOnly(), Heap::EmptyExternalArrayForMap(), Heap::EmptyFixedTypedArrayForMap(), Map::FindTransitionedMap(), JSObject::GetElementsKind(), JSObject::GetElementsTransitionMap(), JSObject::GetElementsTransitionMapSlow(), IC::IsTransitionOfMonomorphicTarget(), Map::LookupElementsTransitionMap(), v8::internal::RUNTIME_FUNCTION(), and IC::TryRemoveInvalidPrototypeDependentStub().
|
inline |
Definition at line 4813 of file objects-inl.h.
References HeapObject::GetHeap().
Referenced by Map::CopyAsElementsKind().
Definition at line 3083 of file objects.cc.
References Isolate::factory(), and Factory::NewDescriptorArray().
Referenced by Factory::CreateApiFunction().
|
inline |
Definition at line 6185 of file objects.h.
Referenced by JSReceiver::IsSimpleEnum(), and JSObject::NumberOfLocalProperties().
bool EquivalentToForNormalization | ( | Map * | other, |
PropertyNormalizationMode | mode | ||
) |
Definition at line 9414 of file objects.cc.
References v8::internal::CLEAR_INOBJECT_PROPERTIES, and Map::inobject_properties().
bool EquivalentToForTransition | ( | Map * | other | ) |
Definition at line 9409 of file objects.cc.
AccessorDescriptor * FindAccessor | ( | Name * | name | ) |
Definition at line 5944 of file objects.cc.
References v8::internal::CALLBACKS, Name::Equals(), DescriptorArray::GetCallbacks(), DescriptorArray::GetKey(), DescriptorArray::GetType(), v8::internal::NULL, and Map::NumberOfOwnDescriptors().
Object * FindInCodeCache | ( | Name * | name, |
Code::Flags | flags | ||
) |
Definition at line 7173 of file objects.cc.
References CodeCache::cast(), HeapObject::GetHeap(), and CodeCache::Lookup().
Map * FindLastMatchMap | ( | int | verbatim, |
int | length, | ||
DescriptorArray * | descriptors | ||
) |
Definition at line 2616 of file objects.cc.
References ASSERT, Map::GetBackPointer(), DescriptorArray::GetDetails(), DescriptorArray::GetKey(), TransitionArray::GetTarget(), DescriptorArray::GetValue(), Map::HasTransitionArray(), TransitionArray::kNotFound, and TransitionArray::Search().
Map * FindRootMap | ( | ) |
Definition at line 2571 of file objects.cc.
References Map::cast(), and Map::GetBackPointer().
Handle< Map > FindTransitionedMap | ( | MapHandleList * | candidates | ) |
Definition at line 3211 of file objects.cc.
References v8::internal::CanTransitionToMoreGeneralFastElementsKind(), Map::elements_kind(), v8::internal::GetNextMoreGeneralFastElementsKind(), Handle< T >::is_null(), v8::internal::IsFastPackedElementsKind(), v8::internal::IsTransitionableFastElementsKind(), and Handle< T >::null().
Map * FindUpdatedMap | ( | int | verbatim, |
int | length, | ||
DescriptorArray * | descriptors | ||
) |
Definition at line 2582 of file objects.cc.
References ASSERT, v8::internal::CALLBACKS, Map::GetBackPointer(), DescriptorArray::GetDetails(), DescriptorArray::GetKey(), TransitionArray::GetTarget(), DescriptorArray::GetValue(), Map::HasTransitionArray(), TransitionArray::kNotFound, v8::internal::NULL, and TransitionArray::Search().
Referenced by Map::CurrentMapForDeprecatedInternal(), and Map::GeneralizeRepresentation().
|
inline |
Definition at line 4182 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
|
inline |
Definition at line 4071 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
Referenced by JSFunction::should_have_prototype().
|
static |
Definition at line 2770 of file objects.cc.
References v8::internal::FIELD, v8::internal::FORCE_FIELD, Map::GeneralizeRepresentation(), and HeapObject::map().
|
static |
Definition at line 2666 of file objects.cc.
References v8::internal::ALLOW_AS_CONSTANT, ASSERT, v8::internal::CONSTANT, Map::CopyGeneralizeAllRepresentations(), Map::CopyInstallDescriptors(), Representation::Equals(), v8::internal::FIELD, Map::FindUpdatedMap(), Representation::fits_into(), v8::internal::FORCE_FIELD, Representation::generalize(), Representation::IsDouble(), Representation::IsNone(), DescriptorArray::Merge(), and v8::internal::NULL.
Referenced by Map::GeneralizeAllFieldRepresentations(), and JSObject::GeneralizeFieldRepresentation().
|
inline |
Definition at line 4791 of file objects-inl.h.
References ASSERT, TransitionArray::back_pointer_storage(), TransitionArray::cast(), Map::kTransitionsOrBackPointerOffset, and READ_FIELD.
Referenced by Map::AddTransition(), Map::ClearTransitions(), Map::DeprecateTarget(), Map::FindLastMatchMap(), Map::FindRootMap(), Map::FindUpdatedMap(), StaticMarkingVisitor< StaticVisitor >::MarkMapContents(), Map::SetBackPointer(), and Map::ShareDescriptor().
|
inline |
Definition at line 3938 of file objects-inl.h.
References ASSERT, Map::inobject_properties(), Map::instance_size(), and v8::internal::kPointerSize.
Referenced by JSObject::GetInObjectPropertyOffset().
|
inline |
Definition at line 2555 of file objects-inl.h.
References Map::LastAdded().
Referenced by TransitionArray::GetTargetDetails().
Definition at line 11416 of file objects.cc.
References Map::cast(), FixedArray::get(), Map::kProtoTransitionElementsPerEntry, Map::kProtoTransitionHeaderSize, Map::kProtoTransitionMapOffset, and Map::kProtoTransitionPrototypeOffset.
Referenced by JSObject::SetPrototype(), and TEST().
|
inline |
Definition at line 4857 of file objects-inl.h.
References HeapObject::GetHeap(), Map::HasPrototypeTransitions(), and Map::HasTransitionArray().
Referenced by TraversableMap::ChildIteratorStart(), Map::SetPrototypeTransitions(), TEST(), and Map::ZapPrototypeTransitions().
|
inline |
Definition at line 4840 of file objects-inl.h.
|
inline |
Definition at line 4202 of file objects-inl.h.
References HeapObject::GetIsolate(), and Isolate::heap().
Referenced by MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit().
|
inline |
Definition at line 5984 of file objects.h.
References v8::internal::IsDictionaryElementsKind().
|
inline |
Definition at line 5976 of file objects.h.
References v8::internal::IsExternalArrayElementsKind().
|
inline |
Definition at line 5964 of file objects.h.
References v8::internal::IsFastDoubleElementsKind().
|
inline |
Definition at line 5968 of file objects.h.
References v8::internal::IsFastElementsKind().
|
inline |
Definition at line 5956 of file objects.h.
References v8::internal::IsFastObjectElementsKind().
|
inline |
Definition at line 5951 of file objects.h.
References v8::internal::IsFastSmiElementsKind().
|
inline |
Definition at line 5960 of file objects.h.
References v8::internal::IsFastSmiOrObjectElementsKind().
|
inline |
Definition at line 5980 of file objects.h.
References v8::internal::IsFixedTypedArrayElementsKind().
|
inline |
Definition at line 5907 of file objects.h.
Referenced by JSObject::HasIndexedInterceptor().
|
inline |
Definition at line 4157 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
Referenced by Execution::GetConstructorDelegate(), Execution::GetFunctionDelegate(), Object::IsCallable(), Execution::TryGetConstructorDelegate(), and Execution::TryGetFunctionDelegate().
|
inline |
Definition at line 5898 of file objects.h.
Referenced by JSObject::HasNamedInterceptor(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4061 of file objects-inl.h.
References Map::bit_field(), and Map::kHasNonInstancePrototype.
Referenced by JSFunction::has_prototype().
|
inline |
Definition at line 5972 of file objects.h.
References v8::internal::SLOPPY_ARGUMENTS_ELEMENTS.
|
inline |
Definition at line 5988 of file objects.h.
References v8::internal::DICTIONARY_ELEMENTS, and v8::internal::SLOPPY_ARGUMENTS_ELEMENTS.
|
inline |
Definition at line 4802 of file objects-inl.h.
References Map::HasTransitionArray().
Referenced by Map::CopyAsElementsKind().
int Hash | ( | ) |
Definition at line 9379 of file objects.cc.
References Map::bit_field2().
|
inline |
Definition at line 4882 of file objects-inl.h.
References Map::HasTransitionArray().
Referenced by TraversableMap::ChildIteratorStart(), Map::GetPrototypeTransitions(), Map::SetPrototypeTransitions(), and Map::UncheckedPrototypeTransitions().
|
inline |
Definition at line 4807 of file objects-inl.h.
References Map::kTransitionsOrBackPointerOffset, and READ_FIELD.
Referenced by Map::AddTransition(), Map::CanHaveMoreTransitions(), TraversableMap::ChildIteratorStart(), Map::ClearNonLiveTransitions(), Map::ClearTransitions(), Map::DeprecateTarget(), Map::DeprecateTransitionTree(), Map::FindLastMatchMap(), Map::FindUpdatedMap(), Map::GetPrototypeTransitions(), Map::HasElementsTransition(), Map::HasPrototypeTransitions(), Map::LookupTransition(), Map::UncheckedPrototypeTransitions(), and MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit().
Definition at line 7183 of file objects.cc.
References CodeCache::cast(), and CodeCache::GetIndex().
|
inline |
Definition at line 4922 of file objects-inl.h.
References ASSERT, Map::kTransitionsOrBackPointerOffset, and WRITE_FIELD.
Referenced by Heap::AllocateMap().
|
inline |
Definition at line 4744 of file objects-inl.h.
References DescriptorArray::number_of_descriptors(), and Map::SetNumberOfOwnDescriptors().
Referenced by Map::CopyAsElementsKind(), Map::ShareDescriptor(), and NameDictionary::TransformPropertiesToFastFor().
|
inline |
Definition at line 6281 of file objects.h.
Referenced by Heap::AllocateJSObjectFromMap().
|
inline |
Definition at line 3928 of file objects-inl.h.
References Map::kInObjectPropertiesOffset, and READ_BYTE_FIELD.
Referenced by Map::CopyDropDescriptors(), Map::EquivalentToForNormalization(), JSObject::FastPropertyAtPut(), Map::GetInObjectPropertyOffset(), JSObject::GetInternalFieldCount(), BASE_EMBEDDED< Visitor >::GetLocalFieldIndexFromMap(), Map::InstancesNeedRewriting(), JSObject::RawFastPropertyAt(), Heap::ReinitializeJSReceiver(), JSObject::TooManyFastProperties(), and NameDictionary::TransformPropertiesToFastFor().
|
inline |
Definition at line 3923 of file objects-inl.h.
References Map::kInstanceSizeOffset, v8::internal::kPointerSizeLog2, and READ_BYTE_FIELD.
Referenced by Heap::Allocate(), Heap::AllocateArgumentsObject(), Heap::AllocateJSFunctionProxy(), Heap::AllocateJSObjectFromMap(), Heap::AllocateJSProxy(), Heap::AllocateStruct(), Map::CopyDropDescriptors(), Heap::CopyJSObject(), JSObject::FastPropertyAtPut(), Map::GetInObjectPropertyOffset(), StaticVisitorBase::GetVisitorId(), JSObject::InitializeBody(), JSObject::RawFastPropertyAt(), Heap::ReinitializeJSReceiver(), HeapObject::SizeFromMap(), JSObject::BodyDescriptor::SizeOf(), and StructBodyDescriptor::SizeOf().
|
inline |
Definition at line 4012 of file objects-inl.h.
References Map::kInstanceTypeOffset, and READ_BYTE_FIELD.
Referenced by AccumulateStatsWithOperator(), Heap::Allocate(), Heap::AllocateJSObjectFromMap(), Heap::AllowedToBeMigrated(), FixedTypedArray< Traits >::cast(), ConsStringIteratorOp::ContinueOperation(), FixedTypedArrayBase::DataSize(), JSObject::GetHeaderSize(), StaticVisitorBase::GetVisitorId(), String::HasOnlyOneByteChars(), Heap::InternalizedStringMapForString(), ExternalString::is_short(), Object::IsFiller(), String::IsOneByteRepresentation(), String::IsOneByteRepresentationUnderneath(), String::IsTwoByteRepresentation(), String::IsTwoByteRepresentationUnderneath(), HeapObject::Iterate(), MarkCompactMarkingVisitor::ObjectStatsVisitBase(), TypeImpl< class >::OfCurrently(), Map::RawCopy(), NewSpace::RecordAllocation(), NewSpace::RecordPromotion(), Heap::RecordStats(), v8::internal::RUNTIME_FUNCTION(), Serializer::ObjectSerializer::Serialize(), Map::SetBackPointer(), HeapObject::SizeFromMap(), Heap::UpdateAllocationSiteFeedback(), MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit(), MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitCode >::Visit(), and String::Visit().
bool InstancesNeedRewriting | ( | Map * | target, |
int | target_number_of_fields, | ||
int | target_inobject, | ||
int | target_unused | ||
) |
Definition at line 2313 of file objects.cc.
References ASSERT, DescriptorArray::GetDetails(), Map::inobject_properties(), Map::NumberOfFields(), and Map::NumberOfOwnDescriptors().
|
inline |
Definition at line 4085 of file objects-inl.h.
References Map::bit_field(), and Map::kIsAccessCheckNeeded.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4167 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
Referenced by Map::DeprecateTransitionTree(), JSObject::JSObjectShortPrint(), and IC::TryRemoveInvalidPrototypeDependentStub().
|
inline |
Definition at line 4132 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
Referenced by Map::RawCopy().
|
inline |
Definition at line 4098 of file objects-inl.h.
References Map::bit_field2(), and Map::kIsExtensible.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4187 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
|
inline |
Definition at line 5889 of file objects.h.
Referenced by JSReceiver::LocalLookup(), v8::internal::RUNTIME_FUNCTION(), and JSObject::SetPrototype().
|
inline |
Definition at line 4177 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
|
inline |
Definition at line 5930 of file objects.h.
Referenced by v8::internal::RUNTIME_FUNCTION(), and KeyedStoreIC::Store().
|
inline |
Definition at line 4121 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
Referenced by JSObject::GetElementsTransitionMapSlow().
|
inline |
Definition at line 4197 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
Referenced by Map::CanOmitMapChecks(), and Map::NotifyLeafMapLayoutChange().
|
inline |
Definition at line 5921 of file objects.h.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 6372 of file objects.h.
References v8::internal::JS_BUILTINS_OBJECT_TYPE, and v8::internal::JS_GLOBAL_OBJECT_TYPE.
|
inline |
Definition at line 6369 of file objects.h.
References v8::internal::JS_GLOBAL_OBJECT_TYPE.
|
inline |
Definition at line 6366 of file objects.h.
References v8::internal::JS_GLOBAL_PROXY_TYPE.
|
inline |
Definition at line 6363 of file objects.h.
References v8::internal::FIRST_JS_OBJECT_TYPE.
Referenced by FunctionTemplateInfo::IsTemplateFor().
bool IsMapInArrayPrototypeChain | ( | ) |
Definition at line 3272 of file objects.cc.
References HeapObject::GetIsolate().
|
static |
Definition at line 12848 of file objects.cc.
References v8::internal::IsFastHoleyElementsKind(), and v8::internal::IsMoreGeneralElementsKindTransition().
Referenced by v8::internal::TransitionElements().
|
inline |
Definition at line 6168 of file objects.h.
References ASSERT.
Referenced by Map::CanBeDeprecated(), TransitionArray::GetKey(), Map::GetLastDescriptorDetails(), and v8::internal::RUNTIME_FUNCTION().
Definition at line 2560 of file objects-inl.h.
References DescriptorArray::GetDetails(), and DescriptorArray::kNotFound.
Referenced by JSObject::LocalLookupRealNamedProperty().
Map * LookupElementsTransitionMap | ( | ElementsKind | elements_kind | ) |
Definition at line 3265 of file objects.cc.
References Map::elements_kind(), and v8::internal::NULL.
Referenced by IC::IsTransitionOfMonomorphicTarget().
Definition at line 2570 of file objects-inl.h.
References TransitionArray::GetTarget(), Map::HasTransitionArray(), TransitionArray::kNotFound, and TransitionArray::Search().
|
inline |
Definition at line 4192 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
Referenced by Map::NotifyLeafMapLayoutChange().
int NextFreePropertyIndex | ( | ) |
Definition at line 5930 of file objects.cc.
References v8::internal::FIELD, DescriptorArray::GetFieldIndex(), DescriptorArray::GetType(), and Map::NumberOfOwnDescriptors().
|
inline |
Definition at line 4221 of file objects-inl.h.
References v8::internal::dependent_code, HeapObject::GetIsolate(), Map::is_stable(), DependentCode::kPrototypeCheckGroup, and Map::mark_unstable().
Referenced by Map::CopyDropDescriptors(), and Map::DeprecateTransitionTree().
int NumberOfDescribedProperties | ( | DescriptorFlag | which = OWN_DESCRIPTORS , |
PropertyAttributes | filter = NONE |
||
) |
Definition at line 5913 of file objects.cc.
References v8::internal::ALL_DESCRIPTORS, DescriptorArray::GetDetails(), DescriptorArray::GetKey(), DescriptorArray::number_of_descriptors(), and Map::NumberOfOwnDescriptors().
Referenced by JSObject::NumberOfLocalProperties().
int NumberOfFields | ( | ) |
Definition at line 2479 of file objects.cc.
References v8::internal::FIELD, DescriptorArray::GetDetails(), and Map::NumberOfOwnDescriptors().
Referenced by Map::InstancesNeedRewriting().
|
inline |
Definition at line 6174 of file objects.h.
Referenced by Map::AppendDescriptor(), Map::ClearNonLiveTransitions(), Map::Copy(), Map::CopyAddDescriptor(), Map::CopyReplaceDescriptor(), Map::CopyWithPreallocatedFieldDescriptors(), Map::CurrentMapForDeprecatedInternal(), Map::DeprecateTarget(), Map::FindAccessor(), JSObject::GetLocalPropertyNames(), Map::InstancesNeedRewriting(), StaticMarkingVisitor< StaticVisitor >::MarkMapContents(), Map::NextFreePropertyIndex(), Map::NumberOfDescribedProperties(), Map::NumberOfFields(), JSObject::NumberOfLocalProperties(), JSObject::PrintInstanceMigration(), StringStream::PrintUsingMap(), Map::ShareDescriptor(), and JSObject::SlowReverseLookup().
|
inline |
Definition at line 6137 of file objects.h.
References Smi::cast(), FixedArray::get(), FixedArrayBase::length(), and Smi::value().
Referenced by Map::SetPrototypeTransitions().
|
inline |
Definition at line 4147 of file objects-inl.h.
References Map::bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::decode().
Referenced by Map::CopyAddDescriptor(), Map::CopyAsElementsKind(), and MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit().
|
inline |
Definition at line 3933 of file objects-inl.h.
References Map::kPreAllocatedPropertyFieldsOffset, and READ_BYTE_FIELD.
Referenced by Map::CopyDropDescriptors(), Map::CopyWithPreallocatedFieldDescriptors(), and JSObject::InitializeBody().
void PrintGeneralization | ( | FILE * | file, |
const char * | reason, | ||
int | modify_index, | ||
int | split, | ||
int | descriptors, | ||
bool | constant_to_field, | ||
Representation | old_representation, | ||
Representation | new_representation | ||
) |
Definition at line 1556 of file objects.cc.
References String::cast(), Map::constructor_name(), HeapObject::GetIsolate(), Representation::Mnemonic(), v8::internal::PrintF(), String::PrintOn(), and JavaScriptFrame::PrintTop().
|
static |
Definition at line 11434 of file objects.cc.
References ASSERT, CALL_AND_RETRY_OR_DIE, HeapObject::cast(), Factory::CopySizeFixedArray(), Map::kMaxCachedPrototypeTransitions, Map::kProtoTransitionElementsPerEntry, Map::kProtoTransitionHeaderSize, Map::kProtoTransitionMapOffset, Map::kProtoTransitionPrototypeOffset, and HeapObject::map().
Referenced by JSObject::SetPrototype().
Definition at line 6652 of file objects.cc.
References CALL_HEAP_FUNCTION.
Referenced by Map::CopyDropDescriptors(), and Map::CopyNormalized().
MaybeObject * RawCopy | ( | int | instance_size | ) |
Definition at line 6660 of file objects.cc.
References Heap::AllocateMap(), Map::bit_field(), Map::bit_field2(), Map::bit_field3(), HeapObject::GetHeap(), Map::instance_type(), Map::is_dictionary_map(), Map::set_bit_field(), Map::set_bit_field2(), Map::set_bit_field3(), BitFieldBase< int, shift, size, uint32_t >::update(), and BitFieldBase< bool, shift, size, uint32_t >::update().
Definition at line 7192 of file objects.cc.
References ASSERT, CodeCache::cast(), and CodeCache::RemoveByIndex().
|
inline |
|
inline |
Definition at line 4103 of file objects-inl.h.
References Map::bit_field2(), Map::kAttachedToSharedFunctionInfo, and Map::set_bit_field2().
|
inline |
Definition at line 4037 of file objects-inl.h.
References Map::kBitFieldOffset, and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap(), Map::RawCopy(), Map::set_is_access_check_needed(), and Map::set_non_instance_prototype().
|
inline |
Definition at line 4047 of file objects-inl.h.
References Map::kBitField2Offset, and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap(), SharedFunctionInfo::AttachInitialMap(), SharedFunctionInfo::DetachInitialMap(), Map::RawCopy(), Map::set_attached_to_shared_function_info(), and Map::set_is_extensible().
|
inline |
Definition at line 4754 of file objects-inl.h.
References Smi::FromInt(), and WRITE_FIELD.
Referenced by Heap::AllocateMap(), Map::deprecate(), Map::freeze(), Map::mark_unstable(), Map::RawCopy(), Map::set_dictionary_map(), Map::set_function_with_prototype(), Map::set_has_instance_call_handler(), Map::set_is_shared(), Map::set_migration_target(), and Map::set_owns_descriptors().
|
inline |
Definition at line 4125 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
Referenced by NameDictionary::TransformPropertiesToFastFor().
|
inline |
Definition at line 5937 of file objects.h.
References ASSERT, and v8::internal::kElementsKindCount.
Referenced by Heap::AllocateMap(), Map::CopyAsElementsKind(), and Heap::CreateApiObjects().
|
inline |
Definition at line 4845 of file objects-inl.h.
References Map::AddTransition(), v8::internal::FULL_TRANSITION, and HeapObject::GetHeap().
Referenced by Map::CopyAsElementsKind().
|
inline |
Definition at line 4066 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
Referenced by Heap::ReinitializeJSReceiver().
|
inline |
Definition at line 4152 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
|
inline |
Definition at line 3998 of file objects-inl.h.
References ASSERT, Map::kInObjectPropertiesOffset, and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap(), and Map::CopyDropDescriptors().
|
inline |
Definition at line 3990 of file objects-inl.h.
References ASSERT, ASSERT_EQ, Map::kInstanceSizeOffset, v8::internal::kPointerSize, v8::internal::kPointerSizeLog2, and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap().
|
inline |
Definition at line 4017 of file objects-inl.h.
References Map::kInstanceTypeOffset, and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap().
|
inline |
Definition at line 4076 of file objects-inl.h.
References Map::bit_field(), Map::kIsAccessCheckNeeded, and Map::set_bit_field().
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4090 of file objects-inl.h.
References Map::bit_field2(), Map::kIsExtensible, and Map::set_bit_field2().
|
inline |
Definition at line 4116 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
Referenced by Map::CopyDropDescriptors().
|
inline |
Definition at line 4172 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
|
inline |
Definition at line 4052 of file objects-inl.h.
References Map::bit_field(), Map::kHasNonInstancePrototype, and Map::set_bit_field().
|
inline |
Definition at line 4142 of file objects-inl.h.
References Map::bit_field3(), Map::set_bit_field3(), and BitFieldBase< bool, shift, size, uint32_t >::update().
Referenced by Map::ClearNonLiveTransitions(), Map::CopyAsElementsKind(), Map::DeprecateTarget(), and Map::ShareDescriptor().
|
inline |
Definition at line 4004 of file objects-inl.h.
References ASSERT, Map::kPreAllocatedPropertyFieldsOffset, and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap(), and Map::CopyDropDescriptors().
|
inline |
Definition at line 4027 of file objects-inl.h.
References Map::kUnusedPropertyFieldsOffset, v8::internal::Min(), and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap(), Map::CopyDropDescriptors(), and NameDictionary::TransformPropertiesToFastFor().
|
inline |
Definition at line 3917 of file objects-inl.h.
References ASSERT, Map::kVisitorIdOffset, and WRITE_BYTE_FIELD.
Referenced by Heap::AllocateMap().
|
inline |
Definition at line 4928 of file objects-inl.h.
References ASSERT, TransitionArray::cast(), CONDITIONAL_WRITE_BARRIER, v8::internal::FIRST_JS_RECEIVER_TYPE, Map::GetBackPointer(), HeapObject::GetHeap(), Map::instance_type(), Map::kTransitionsOrBackPointerOffset, READ_FIELD, TransitionArray::set_back_pointer_storage(), and WRITE_FIELD.
Referenced by Map::CopyAsElementsKind(), and Map::ShareDescriptor().
|
inline |
|
inline |
Definition at line 6178 of file objects.h.
References ASSERT.
Referenced by Map::AppendDescriptor(), and Map::InitializeDescriptors().
|
inline |
Definition at line 6144 of file objects.h.
References ASSERT, Smi::FromInt(), FixedArrayBase::length(), and FixedArray::set().
Referenced by Map::SetPrototypeTransitions().
|
inline |
Definition at line 4866 of file objects-inl.h.
References ASSERT, Map::GetPrototypeTransitions(), Map::HasPrototypeTransitions(), Map::NumberOfProtoTransitions(), Map::SetNumberOfProtoTransitions(), and Map::ZapPrototypeTransitions().
|
inline |
Definition at line 4835 of file objects-inl.h.
MaybeObject * ShareDescriptor | ( | DescriptorArray * | descriptors, |
Descriptor * | descriptor | ||
) |
Definition at line 6734 of file objects.cc.
References Map::AddTransition(), DescriptorArray::Allocate(), DescriptorArray::Append(), ASSERT, Map::cast(), Map::CopyDropDescriptors(), DescriptorArray::CopyEnumCacheFrom(), DescriptorArray::CopyFrom(), Map::GetBackPointer(), HeapObject::GetHeap(), HeapObject::GetIsolate(), DescriptorArray::HasEnumCache(), Heap::incremental_marking(), Map::InitializeDescriptors(), HeapObject::map(), DescriptorArray::number_of_descriptors(), Map::NumberOfOwnDescriptors(), DescriptorArray::NumberOfSlackDescriptors(), IncrementalMarking::RecordWrites(), Map::set_owns_descriptors(), Map::SetBackPointer(), and v8::internal::SIMPLE_TRANSITION.
Referenced by Map::CopyAddDescriptor().
STATIC_ASSERT | ( | kDescriptorIndexBitCount+ | kDescriptorIndexBitCount = =20 | ) |
STATIC_CHECK | ( | kInstanceTypeOffset | = =Internals::kMapInstanceTypeOffset | ) |
void TraverseTransitionTree | ( | TraverseCallback | callback, |
void * | data | ||
) |
Definition at line 7370 of file objects.cc.
References TraversableMap::ChildIteratorNext(), TraversableMap::ChildIteratorStart(), TraversableMap::GetAndResetParent(), v8::internal::NULL, and TraversableMap::SetParent().
Referenced by SharedFunctionInfo::CompleteInobjectSlackTracking().
|
inline |
Definition at line 4945 of file objects-inl.h.
References Map::kTransitionsOrBackPointerOffset, and HeapObject::RawField().
Referenced by TraversableMap::ChildIteratorNext(), StaticMarkingVisitor< StaticVisitor >::MarkMapContents(), and Map::UncheckedPrototypeTransitions().
|
inline |
Definition at line 4953 of file objects-inl.h.
References ASSERT, Map::HasPrototypeTransitions(), Map::HasTransitionArray(), Map::unchecked_transition_array(), and TransitionArray::UncheckedPrototypeTransitions().
|
inline |
Definition at line 4022 of file objects-inl.h.
References Map::kUnusedPropertyFieldsOffset, and READ_BYTE_FIELD.
Referenced by SharedFunctionInfo::CompleteInobjectSlackTracking(), Map::CopyDropDescriptors(), Heap::ReinitializeJSReceiver(), v8::internal::RUNTIME_FUNCTION(), SharedFunctionInfo::StartInobjectSlackTracking(), and JSObject::TooManyFastProperties().
Definition at line 7149 of file objects.cc.
References CALL_HEAP_FUNCTION_VOID.
Referenced by HeapObject::UpdateMapCodeCache().
Definition at line 7158 of file objects.cc.
References Heap::AllocateCodeCache(), CodeCache::cast(), HeapObject::GetHeap(), and CodeCache::Update().
|
inline |
Definition at line 3912 of file objects-inl.h.
References Map::kVisitorIdOffset, and READ_BYTE_FIELD.
Referenced by VisitorDispatchTable< ScavengingCallback >::GetVisitor().
void ZapPrototypeTransitions | ( | ) |
Definition at line 11487 of file objects.cc.
References FixedArray::data_start(), HeapObject::GetHeap(), Map::GetPrototypeTransitions(), FixedArrayBase::length(), and v8::internal::MemsetPointer().
Referenced by Map::SetPrototypeTransitions().
void ZapTransitions | ( | ) |
Definition at line 11474 of file objects.cc.
References FixedArray::data_start(), HeapObject::GetHeap(), and FixedArrayBase::length().
Referenced by Map::ClearTransitions().
|
static |
Definition at line 6479 of file objects.h.
Referenced by Map::attached_to_shared_function_info(), SharedFunctionInfo::AttachInitialMap(), SharedFunctionInfo::DetachInitialMap(), and Map::set_attached_to_shared_function_info().
|
static |
Definition at line 6462 of file objects.h.
Referenced by Map::bit_field2(), and Map::set_bit_field2().
|
static |
Definition at line 6439 of file objects.h.
Referenced by Map::bit_field3().
|
static |
Definition at line 6461 of file objects.h.
Referenced by Map::bit_field(), and Map::set_bit_field().
|
static |
Definition at line 6437 of file objects.h.
Referenced by Map::ClearCodeCache(), and NormalizedMapCache::Get().
|
static |
|
static |
Definition at line 6438 of file objects.h.
Referenced by NormalizedMapCache::Get(), and StaticMarkingVisitor< StaticVisitor >::MarkMapContents().
|
static |
|
static |
|
static |
Definition at line 6468 of file objects.h.
Referenced by Map::has_non_instance_prototype(), and Map::set_non_instance_prototype().
|
static |
Definition at line 6450 of file objects.h.
Referenced by Map::inobject_properties(), and Map::set_inobject_properties().
|
static |
|
static |
Definition at line 6448 of file objects.h.
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceSize(), Map::instance_size(), and Map::set_instance_size().
|
static |
|
static |
|
static |
Definition at line 6474 of file objects.h.
Referenced by Map::is_access_check_needed(), and Map::set_is_access_check_needed().
|
static |
Definition at line 6477 of file objects.h.
Referenced by Heap::AllocateMap(), Map::is_extensible(), and Map::set_is_extensible().
|
static |
Definition at line 6415 of file objects.h.
Referenced by Map::PutPrototypeTransition().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 6444 of file objects.h.
Referenced by StaticMarkingVisitor< StaticVisitor >::MarkMapContents().
|
static |
Definition at line 6445 of file objects.h.
Referenced by StaticMarkingVisitor< StaticVisitor >::MarkMapContents().
|
static |
Definition at line 6453 of file objects.h.
Referenced by Map::pre_allocated_property_fields(), and Map::set_pre_allocated_property_fields().
|
static |
Definition at line 6133 of file objects.h.
Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().
|
static |
Definition at line 6131 of file objects.h.
Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().
|
static |
Definition at line 6135 of file objects.h.
Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().
|
static |
|
static |
Definition at line 6134 of file objects.h.
Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().
|
static |
|
static |
Definition at line 6440 of file objects.h.
Referenced by Heap::AllocateMap(), Heap::AllocatePartialMap(), NormalizedMapCache::Get(), MapSpace::RoundSizeDownToObjectAlignment(), and TEST().
|
static |
Definition at line 6433 of file objects.h.
Referenced by Map::ClearTransitions(), Map::GetBackPointer(), Map::HasTransitionArray(), Map::init_back_pointer(), Map::SetBackPointer(), and Map::unchecked_transition_array().
|
static |
Definition at line 6460 of file objects.h.
Referenced by Map::set_unused_property_fields(), and Map::unused_property_fields().
|
static |
Definition at line 6456 of file objects.h.
Referenced by Map::set_visitor_id(), and Map::visitor_id().