• Home
  • Raw
  • Download

Lines Matching refs:Map

29 CAST_ACCESSOR(Map)
31 ACCESSORS(Map, instance_descriptors, DescriptorArray, kDescriptorsOffset) in ACCESSORS() argument
32 ACCESSORS_CHECKED(Map, layout_descriptor, LayoutDescriptor, in ACCESSORS()
34 WEAK_ACCESSORS(Map, raw_transitions, kTransitionsOrPrototypeInfoOffset) in ACCESSORS()
37 BIT_FIELD_ACCESSORS(Map, bit_field, has_non_instance_prototype, in ACCESSORS()
38 Map::HasNonInstancePrototypeBit) in ACCESSORS()
39 BIT_FIELD_ACCESSORS(Map, bit_field, is_callable, Map::IsCallableBit) in ACCESSORS()
40 BIT_FIELD_ACCESSORS(Map, bit_field, has_named_interceptor, in ACCESSORS()
41 Map::HasNamedInterceptorBit) in ACCESSORS()
42 BIT_FIELD_ACCESSORS(Map, bit_field, has_indexed_interceptor, in ACCESSORS()
43 Map::HasIndexedInterceptorBit) in ACCESSORS()
44 BIT_FIELD_ACCESSORS(Map, bit_field, is_undetectable, Map::IsUndetectableBit) in ACCESSORS()
45 BIT_FIELD_ACCESSORS(Map, bit_field, is_access_check_needed, in ACCESSORS()
46 Map::IsAccessCheckNeededBit) in ACCESSORS()
47 BIT_FIELD_ACCESSORS(Map, bit_field, is_constructor, Map::IsConstructorBit) in ACCESSORS()
48 BIT_FIELD_ACCESSORS(Map, bit_field, has_prototype_slot, in ACCESSORS()
49 Map::HasPrototypeSlotBit) in ACCESSORS()
52 BIT_FIELD_ACCESSORS(Map, bit_field2, is_extensible, Map::IsExtensibleBit) in ACCESSORS()
53 BIT_FIELD_ACCESSORS(Map, bit_field2, is_prototype_map, Map::IsPrototypeMapBit) in ACCESSORS()
54 BIT_FIELD_ACCESSORS(Map, bit_field2, is_in_retained_map_list, in ACCESSORS()
55 Map::IsInRetainedMapListBit) in ACCESSORS()
58 BIT_FIELD_ACCESSORS(Map, bit_field3, owns_descriptors, Map::OwnsDescriptorsBit) in ACCESSORS()
59 BIT_FIELD_ACCESSORS(Map, bit_field3, has_hidden_prototype, in ACCESSORS()
60 Map::HasHiddenPrototypeBit) in ACCESSORS()
61 BIT_FIELD_ACCESSORS(Map, bit_field3, is_deprecated, Map::IsDeprecatedBit) in ACCESSORS()
62 BIT_FIELD_ACCESSORS(Map, bit_field3, is_migration_target, in ACCESSORS()
63 Map::IsMigrationTargetBit) in ACCESSORS()
64 BIT_FIELD_ACCESSORS(Map, bit_field3, is_immutable_proto, in ACCESSORS()
65 Map::IsImmutablePrototypeBit) in ACCESSORS()
66 BIT_FIELD_ACCESSORS(Map, bit_field3, new_target_is_base, in ACCESSORS()
67 Map::NewTargetIsBaseBit) in ACCESSORS()
68 BIT_FIELD_ACCESSORS(Map, bit_field3, may_have_interesting_symbols, in ACCESSORS()
69 Map::MayHaveInterestingSymbolsBit) in ACCESSORS()
70 BIT_FIELD_ACCESSORS(Map, bit_field3, construction_counter, in ACCESSORS()
71 Map::ConstructionCounterBits) in ACCESSORS()
73 InterceptorInfo* Map::GetNamedInterceptor() { in ACCESSORS()
79 InterceptorInfo* Map::GetIndexedInterceptor() { in GetIndexedInterceptor()
85 bool Map::IsInplaceGeneralizableField(PropertyConstness constness, in IsInplaceGeneralizableField()
100 bool Map::CanHaveFastTransitionableElementsKind(InstanceType instance_type) { in CanHaveFastTransitionableElementsKind()
105 bool Map::CanHaveFastTransitionableElementsKind() const { in CanHaveFastTransitionableElementsKind()
110 void Map::GeneralizeIfCanHaveTransitionableFastElementsKind( in GeneralizeIfCanHaveTransitionableFastElementsKind()
133 bool Map::IsUnboxedDoubleField(FieldIndex index) const { in IsUnboxedDoubleField()
139 bool Map::TooManyFastProperties(StoreFromKeyed store_mode) const { in TooManyFastProperties()
148 PropertyDetails Map::GetLastDescriptorDetails() const { in GetLastDescriptorDetails()
152 int Map::LastAdded() const { in LastAdded()
158 int Map::NumberOfOwnDescriptors() const { in NumberOfOwnDescriptors()
162 void Map::SetNumberOfOwnDescriptors(int number) { in SetNumberOfOwnDescriptors()
169 int Map::EnumLength() const { return EnumLengthBits::decode(bit_field3()); } in EnumLength()
171 void Map::SetEnumLength(int length) { in SetEnumLength()
180 FixedArrayBase* Map::GetInitialElements() const { in GetInitialElements()
197 VisitorId Map::visitor_id() const { in visitor_id()
202 void Map::set_visitor_id(VisitorId id) { in set_visitor_id()
207 int Map::instance_size_in_words() const { in instance_size_in_words()
211 void Map::set_instance_size_in_words(int value) { in set_instance_size_in_words()
216 int Map::instance_size() const { in instance_size()
220 void Map::set_instance_size(int value) { in set_instance_size()
227 int Map::inobject_properties_start_or_constructor_function_index() const { in inobject_properties_start_or_constructor_function_index()
232 void Map::set_inobject_properties_start_or_constructor_function_index( in set_inobject_properties_start_or_constructor_function_index()
240 int Map::GetInObjectPropertiesStartInWords() const { in GetInObjectPropertiesStartInWords()
245 void Map::SetInObjectPropertiesStartInWords(int value) { in SetInObjectPropertiesStartInWords()
250 int Map::GetInObjectProperties() const { in GetInObjectProperties()
255 int Map::GetConstructorFunctionIndex() const { in GetConstructorFunctionIndex()
260 void Map::SetConstructorFunctionIndex(int value) { in SetConstructorFunctionIndex()
265 int Map::GetInObjectPropertyOffset(int index) const { in GetInObjectPropertyOffset()
269 Handle<Map> Map::AddMissingTransitionsForTesting( in AddMissingTransitionsForTesting()
270 Isolate* isolate, Handle<Map> split_map, in AddMissingTransitionsForTesting()
277 InstanceType Map::instance_type() const { in instance_type()
282 void Map::set_instance_type(InstanceType value) { in set_instance_type()
286 int Map::UnusedPropertyFields() const { in UnusedPropertyFields()
300 int Map::UnusedInObjectProperties() const { in UnusedInObjectProperties()
311 int Map::used_or_unused_instance_size_in_words() const { in used_or_unused_instance_size_in_words()
315 void Map::set_used_or_unused_instance_size_in_words(int value) { in set_used_or_unused_instance_size_in_words()
321 int Map::UsedInstanceSize() const { in UsedInstanceSize()
331 void Map::SetInObjectUnusedPropertyFields(int value) { in SetInObjectUnusedPropertyFields()
347 void Map::SetOutOfObjectUnusedPropertyFields(int value) { in SetOutOfObjectUnusedPropertyFields()
356 void Map::CopyUnusedPropertyFields(Map* map) { in CopyUnusedPropertyFields()
362 void Map::CopyUnusedPropertyFieldsAdjustedForInstanceSize(Map* map) { in CopyUnusedPropertyFieldsAdjustedForInstanceSize()
373 void Map::AccountAddedPropertyField() { in AccountAddedPropertyField()
394 void Map::AccountAddedOutOfObjectPropertyField(int unused_in_property_array) { in AccountAddedOutOfObjectPropertyField()
405 byte Map::bit_field() const { return READ_BYTE_FIELD(this, kBitFieldOffset); } in bit_field()
407 void Map::set_bit_field(byte value) { in set_bit_field()
411 byte Map::bit_field2() const { return READ_BYTE_FIELD(this, kBitField2Offset); } in bit_field2()
413 void Map::set_bit_field2(byte value) { in set_bit_field2()
417 bool Map::is_abandoned_prototype_map() const { in is_abandoned_prototype_map()
421 bool Map::should_be_fast_prototype_map() const { in should_be_fast_prototype_map()
426 void Map::set_elements_kind(ElementsKind elements_kind) { in set_elements_kind()
428 set_bit_field2(Map::ElementsKindBits::update(bit_field2(), elements_kind)); in set_elements_kind()
431 ElementsKind Map::elements_kind() const { in elements_kind()
432 return Map::ElementsKindBits::decode(bit_field2()); in elements_kind()
435 bool Map::has_fast_smi_elements() const { in has_fast_smi_elements()
439 bool Map::has_fast_object_elements() const { in has_fast_object_elements()
443 bool Map::has_fast_smi_or_object_elements() const { in has_fast_smi_or_object_elements()
447 bool Map::has_fast_double_elements() const { in has_fast_double_elements()
451 bool Map::has_fast_elements() const { in has_fast_elements()
455 bool Map::has_sloppy_arguments_elements() const { in has_sloppy_arguments_elements()
459 bool Map::has_fast_sloppy_arguments_elements() const { in has_fast_sloppy_arguments_elements()
463 bool Map::has_fast_string_wrapper_elements() const { in has_fast_string_wrapper_elements()
467 bool Map::has_fixed_typed_array_elements() const { in has_fixed_typed_array_elements()
471 bool Map::has_dictionary_elements() const { in has_dictionary_elements()
475 void Map::set_is_dictionary_map(bool value) { in set_is_dictionary_map()
481 bool Map::is_dictionary_map() const { in is_dictionary_map()
485 void Map::mark_unstable() { in mark_unstable()
489 bool Map::is_stable() const { return !IsUnstableBit::decode(bit_field3()); } in is_stable()
491 bool Map::CanBeDeprecated() const { in CanBeDeprecated()
506 void Map::NotifyLeafMapLayoutChange(Isolate* isolate) { in NotifyLeafMapLayoutChange()
514 bool Map::IsJSObject(InstanceType type) { in IsJSObject()
519 bool Map::CanTransition() const { in CanTransition()
524 bool Map::IsBooleanMap() const { in IsBooleanMap()
528 bool Map::IsNullMap() const { return this == GetReadOnlyRoots().null_map(); } in IsNullMap()
530 bool Map::IsUndefinedMap() const { in IsUndefinedMap()
534 bool Map::IsNullOrUndefinedMap() const { in IsNullOrUndefinedMap()
538 bool Map::IsPrimitiveMap() const { in IsPrimitiveMap()
541 bool Map::IsJSReceiverMap() const { in IsJSReceiverMap()
545 bool Map::IsJSObjectMap() const { return IsJSObject(instance_type()); } in IsJSObjectMap()
546 bool Map::IsJSPromiseMap() const { return instance_type() == JS_PROMISE_TYPE; } in IsJSPromiseMap()
547 bool Map::IsJSArrayMap() const { return instance_type() == JS_ARRAY_TYPE; } in IsJSArrayMap()
548 bool Map::IsJSFunctionMap() const { in IsJSFunctionMap()
551 bool Map::IsStringMap() const { return instance_type() < FIRST_NONSTRING_TYPE; } in IsStringMap()
552 bool Map::IsJSProxyMap() const { return instance_type() == JS_PROXY_TYPE; } in IsJSProxyMap()
553 bool Map::IsJSGlobalProxyMap() const { in IsJSGlobalProxyMap()
556 bool Map::IsJSGlobalObjectMap() const { in IsJSGlobalObjectMap()
559 bool Map::IsJSTypedArrayMap() const { in IsJSTypedArrayMap()
562 bool Map::IsJSDataViewMap() const { in IsJSDataViewMap()
566 Object* Map::prototype() const { return READ_FIELD(this, kPrototypeOffset); } in prototype()
568 void Map::set_prototype(Object* value, WriteBarrierMode mode) { in set_prototype()
574 LayoutDescriptor* Map::layout_descriptor_gc_safe() const { in layout_descriptor_gc_safe()
580 bool Map::HasFastPointerLayout() const { in HasFastPointerLayout()
586 void Map::UpdateDescriptors(DescriptorArray* descriptors, in UpdateDescriptors()
597 CHECK_EQ(Map::GetVisitorId(this), visitor_id()); in UpdateDescriptors()
601 DCHECK(visitor_id() == Map::GetVisitorId(this)); in UpdateDescriptors()
606 void Map::InitializeDescriptors(DescriptorArray* descriptors, in InitializeDescriptors()
622 set_visitor_id(Map::GetVisitorId(this)); in InitializeDescriptors()
626 void Map::set_bit_field3(uint32_t bits) { in set_bit_field3()
633 uint32_t Map::bit_field3() const { in bit_field3()
637 LayoutDescriptor* Map::GetLayoutDescriptor() const { in GetLayoutDescriptor()
642 void Map::AppendDescriptor(Descriptor* desc) { in AppendDescriptor()
666 Object* Map::GetBackPointer() const { in GetBackPointer()
674 Map* Map::ElementsTransitionMap() { in ElementsTransitionMap()
683 Object* Map::prototype_info() const { in prototype_info()
685 return READ_FIELD(this, Map::kTransitionsOrPrototypeInfoOffset); in prototype_info()
688 void Map::set_prototype_info(Object* value, WriteBarrierMode mode) { in set_prototype_info()
690 WRITE_FIELD(this, Map::kTransitionsOrPrototypeInfoOffset, value); in set_prototype_info()
691 CONDITIONAL_WRITE_BARRIER(this, Map::kTransitionsOrPrototypeInfoOffset, value, in set_prototype_info()
695 void Map::SetBackPointer(Object* value, WriteBarrierMode mode) { in SetBackPointer()
699 CHECK_IMPLIES(value->IsMap(), Map::cast(value)->GetConstructor() == in SetBackPointer()
704 ACCESSORS(Map, dependent_code, DependentCode, kDependentCodeOffset) in ACCESSORS() argument
705 ACCESSORS(Map, prototype_validity_cell, Object, kPrototypeValidityCellOffset) in ACCESSORS()
706 ACCESSORS(Map, constructor_or_backpointer, Object, in ACCESSORS()
709 bool Map::IsPrototypeValidityCellValid() const { in ACCESSORS()
713 return value == Smi::FromInt(Map::kPrototypeChainValid); in ACCESSORS()
716 Object* Map::GetConstructor() const { in GetConstructor()
721 Map::cast(maybe_constructor)->constructor_or_backpointer(); in GetConstructor()
726 FunctionTemplateInfo* Map::GetFunctionTemplateInfo() const { in GetFunctionTemplateInfo()
736 void Map::SetConstructor(Object* constructor, WriteBarrierMode mode) { in SetConstructor()
742 Handle<Map> Map::CopyInitialMap(Isolate* isolate, Handle<Map> map) { in CopyInitialMap()
748 bool Map::IsInobjectSlackTrackingInProgress() const { in IsInobjectSlackTrackingInProgress()
749 return construction_counter() != Map::kNoSlackTracking; in IsInobjectSlackTrackingInProgress()
752 void Map::InobjectSlackTrackingStep(Isolate* isolate) { in InobjectSlackTrackingStep()
763 int Map::SlackForArraySize(int old_size, int size_limit) { in SlackForArraySize()
773 int NormalizedMapCache::GetIndex(Handle<Map> map) { in GetIndex()