Lines Matching refs:JSObject
100 JSObject::GetPropertyAttributesWithInterceptor(it); in HasProperty()
108 JSObject::GetPropertyAttributesWithFailedAccessCheck(it); in HasProperty()
209 Handle<JSObject>::cast(it->GetReceiver())); in CheckPrivateNameStore()
249 } else if (!JSObject::IsExtensible( in CheckIfCanDefine()
250 Handle<JSObject>::cast(it->GetReceiver()))) { in CheckIfCanDefine()
291 JSObject::MigrateInstance(isolate, Handle<JSObject>::cast(target)); in FastAssign()
299 Handle<JSObject> from = Handle<JSObject>::cast(source); in FastAssign()
345 JSObject::FastPropertyAt(isolate, from, representation, index); in FastAssign()
393 CHECK(JSObject::CreateDataProperty(&it, prop_value, Just(kThrowOnError)) in FastAssign()
453 JSObject::NormalizeProperties(isolate, Handle<JSObject>::cast(target), in SetOrCopyDataProperties()
493 CHECK(JSObject::CreateDataProperty(&it, prop_value, Just(kThrowOnError)) in SetOrCopyDataProperties()
693 JSObject object = JSObject::cast(current); in GetFunctionRealm()
731 JSObject::GetPropertyAttributesWithInterceptor(it); in GetPropertyAttributes()
738 return JSObject::GetPropertyAttributesWithFailedAccessCheck(it); in GetPropertyAttributes()
920 JSObject::InvalidatePrototypeChains(object->map()); in DeleteNormalizedProperty()
943 Handle<JSObject> receiver = Handle<JSObject>::cast(it->GetReceiver()); in DeleteProperty()
953 isolate->ReportFailedAccessCheck(it->GetHolder<JSObject>()); in DeleteProperty()
960 JSObject::DeletePropertyWithInterceptor(it, should_throw); in DeleteProperty()
973 Handle<JSObject> holder = it->GetHolder<JSObject>(); in DeleteProperty()
1157 return OrdinaryDefineOwnProperty(isolate, Handle<JSObject>::cast(object), key, in DefineOwnProperty()
1163 Isolate* isolate, Handle<JSObject> object, Handle<Object> key, in OrdinaryDefineOwnProperty()
1172 Isolate* isolate, Handle<JSObject> object, const PropertyKey& key, in OrdinaryDefineOwnProperty()
1179 isolate->ReportFailedAccessCheck(it.GetHolder<JSObject>()); in OrdinaryDefineOwnProperty()
1203 Handle<JSObject> holder = it->GetHolder<JSObject>(); in GetPropertyWithInterceptorInternal()
1234 Handle<JSObject> holder = it->GetHolder<JSObject>(); in GetPropertyAttributesWithInterceptorInternal()
1284 Handle<JSObject> holder = it->GetHolder<JSObject>(); in SetPropertyWithInterceptorInternal()
1318 Handle<JSObject> holder = it->GetHolder<JSObject>(); in DefinePropertyWithInterceptorInternal()
1396 Handle<JSObject> object = Handle<JSObject>::cast(it->GetReceiver()); in OrdinaryDefineOwnProperty()
1397 bool extensible = JSObject::IsExtensible(object); in OrdinaryDefineOwnProperty()
1423 Handle<JSObject> object; in ValidateAndApplyPropertyDescriptor()
1424 if (it != nullptr) object = Handle<JSObject>::cast(it->GetReceiver()); in ValidateAndApplyPropertyDescriptor()
1459 JSObject::DefineOwnPropertyIgnoreAttributes(it, value, in ValidateAndApplyPropertyDescriptor()
1483 JSObject::DefineAccessor(it, getter, setter, desc->ToAttributes()); in ValidateAndApplyPropertyDescriptor()
1646 return JSObject::DefineOwnPropertyIgnoreAttributes(it, value, attrs, in ValidateAndApplyPropertyDescriptor()
1665 JSObject::DefineAccessor(it, getter, setter, attrs); in ValidateAndApplyPropertyDescriptor()
1694 return JSObject::CreateDataProperty(it, value, should_throw); // Shortcut. in CreateDataProperty()
1734 it->isolate()->ReportFailedAccessCheck(it->GetHolder<JSObject>()); in AddPrivateField()
1773 (!JSObject::AllCanRead(it) || in GetPropertyDescriptorWithInterceptor()
1789 Handle<JSObject> holder = it->GetHolder<JSObject>(); in GetPropertyDescriptorWithInterceptor()
1846 Maybe<PropertyAttributes> maybe = JSObject::GetPropertyAttributes(it); in GetOwnPropertyDescriptor()
1897 Handle<JSObject> object = Handle<JSObject>::cast(receiver); in SetIntegrityLevel()
1902 Maybe<bool> test = JSObject::TestIntegrityLevel(object, level); in SetIntegrityLevel()
1907 return JSObject::PreventExtensionsWithTransition<SEALED>(object, in SetIntegrityLevel()
1910 return JSObject::PreventExtensionsWithTransition<FROZEN>(object, in SetIntegrityLevel()
1999 return JSObject::TestIntegrityLevel(Handle<JSObject>::cast(receiver), in TestIntegrityLevel()
2012 return JSObject::PreventExtensions(Handle<JSObject>::cast(object), in PreventExtensions()
2020 return Just(JSObject::IsExtensible(Handle<JSObject>::cast(object))); in IsExtensible()
2092 Handle<JSObject> object(JSObject::cast(*receiver), isolate); in FastGetOwnValuesOrEntries()
2146 prop_value = JSObject::FastPropertyAt(isolate, object, representation, in FastGetOwnValuesOrEntries()
2264 return JSObject::SetPrototype(isolate, Handle<JSObject>::cast(object), value, in SetPrototype()
2293 MaybeHandle<JSObject> JSObject::New(Handle<JSFunction> constructor, in New()
2311 JSFunction::GetDerivedMap(isolate, constructor, new_target), JSObject); in New()
2315 Handle<JSObject> result = isolate->factory()->NewFastOrSlowJSObjectFromMap( in New()
2324 MaybeHandle<JSObject> JSObject::ObjectCreate(Isolate* isolate, in ObjectCreate()
2337 void JSObject::EnsureWritableFastElements(Handle<JSObject> object) { in EnsureWritableFastElements()
2351 int JSObject::GetHeaderSize(InstanceType type, in GetHeaderSize()
2367 return JSObject::kHeaderSize; in GetHeaderSize()
2432 return JSObject::kHeaderSize; in GetHeaderSize()
2436 return JSObject::kHeaderSize; in GetHeaderSize()
2438 return JSObject::kHeaderSize; in GetHeaderSize()
2519 return JSObject::kHeaderSize; in GetHeaderSize()
2529 bool JSObject::AllCanRead(LookupIterator* it) { in AllCanRead()
2550 MaybeHandle<Object> JSObject::GetPropertyWithFailedAccessCheck( in GetPropertyWithFailedAccessCheck()
2553 Handle<JSObject> checked = it->GetHolder<JSObject>(); in GetPropertyWithFailedAccessCheck()
2590 Maybe<PropertyAttributes> JSObject::GetPropertyAttributesWithFailedAccessCheck( in GetPropertyAttributesWithFailedAccessCheck()
2593 Handle<JSObject> checked = it->GetHolder<JSObject>(); in GetPropertyAttributesWithFailedAccessCheck()
2618 bool JSObject::AllCanWrite(LookupIterator* it) { in AllCanWrite()
2630 Maybe<bool> JSObject::SetPropertyWithFailedAccessCheck( in SetPropertyWithFailedAccessCheck()
2633 Handle<JSObject> checked = it->GetHolder<JSObject>(); in SetPropertyWithFailedAccessCheck()
2651 void JSObject::SetNormalizedProperty(Handle<JSObject> object, Handle<Name> name, in SetNormalizedProperty()
2717 void JSObject::SetNormalizedElement(Handle<JSObject> object, uint32_t index, in SetNormalizedElement()
2731 void JSObject::JSObjectShortPrint(StringStream* accumulator) { in JSObjectShortPrint()
2865 void JSObject::PrintElementsTransition(FILE* file, Handle<JSObject> object, in PrintElementsTransition()
2885 void JSObject::PrintInstanceMigration(FILE* file, Map original_map, in PrintInstanceMigration()
2919 bool JSObject::IsUnmodifiedApiObject(FullObjectSlot o) { in IsUnmodifiedApiObject()
2924 JSObject js_object = JSObject::cast(object); in IsUnmodifiedApiObject()
2937 void JSObject::UpdatePrototypeUserRegistration(Handle<Map> old_map, in UpdatePrototypeUserRegistration()
2942 bool was_registered = JSObject::UnregisterPrototypeUser(old_map, isolate); in UpdatePrototypeUserRegistration()
2958 JSObject::LazyRegisterPrototypeUser(new_map, isolate); in UpdatePrototypeUserRegistration()
2963 void JSObject::NotifyMapChange(Handle<Map> old_map, Handle<Map> new_map, in NotifyMapChange()
2994 void MigrateFastToFast(Isolate* isolate, Handle<JSObject> object, in MigrateFastToFast()
3185 void MigrateFastToSlow(Isolate* isolate, Handle<JSObject> object, in MigrateFastToSlow()
3311 void JSObject::MigrateToMap(Isolate* isolate, Handle<JSObject> object, in MigrateToMap()
3355 void JSObject::ForceSetPrototype(Isolate* isolate, Handle<JSObject> object, in ForceSetPrototype()
3361 JSObject::MigrateToMap(isolate, object, new_map); in ForceSetPrototype()
3364 Maybe<bool> JSObject::SetPropertyWithInterceptor( in SetPropertyWithInterceptor()
3371 Handle<Map> JSObject::GetElementsTransitionMap(Handle<JSObject> object, in GetElementsTransitionMap()
3377 void JSObject::AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map) { in AllocateStorageForMap()
3431 void JSObject::MigrateInstance(Isolate* isolate, Handle<JSObject> object) { in MigrateInstance()
3435 JSObject::MigrateToMap(isolate, object, map); in MigrateInstance()
3447 bool JSObject::TryMigrateInstance(Isolate* isolate, Handle<JSObject> object) { in TryMigrateInstance()
3454 JSObject::MigrateToMap(isolate, object, new_map); in TryMigrateInstance()
3466 void JSObject::AddProperty(Isolate* isolate, Handle<JSObject> object, in AddProperty()
3487 void JSObject::AddProperty(Isolate* isolate, Handle<JSObject> object, in AddProperty()
3490 JSObject::AddProperty(isolate, object, in AddProperty()
3499 MaybeHandle<Object> JSObject::DefineOwnPropertyIgnoreAttributes( in DefineOwnPropertyIgnoreAttributes()
3508 Maybe<bool> JSObject::DefineOwnPropertyIgnoreAttributes( in DefineOwnPropertyIgnoreAttributes()
3523 it->isolate()->ReportFailedAccessCheck(it->GetHolder<JSObject>()); in DefineOwnPropertyIgnoreAttributes()
3551 JSObject::SetPropertyWithInterceptor(it, should_throw, value); in DefineOwnPropertyIgnoreAttributes()
3573 return JSObject::DefineOwnPropertyIgnoreAttributes( in DefineOwnPropertyIgnoreAttributes()
3613 !Handle<JSObject>::cast(it->GetReceiver()) in DefineOwnPropertyIgnoreAttributes()
3627 MaybeHandle<Object> JSObject::SetOwnPropertyIgnoreAttributes( in SetOwnPropertyIgnoreAttributes()
3628 Handle<JSObject> object, Handle<Name> name, Handle<Object> value, in SetOwnPropertyIgnoreAttributes()
3636 MaybeHandle<Object> JSObject::SetOwnElementIgnoreAttributes( in SetOwnElementIgnoreAttributes()
3637 Handle<JSObject> object, size_t index, Handle<Object> value, in SetOwnElementIgnoreAttributes()
3645 MaybeHandle<Object> JSObject::DefinePropertyOrElementIgnoreAttributes( in DefinePropertyOrElementIgnoreAttributes()
3646 Handle<JSObject> object, Handle<Name> name, Handle<Object> value, in DefinePropertyOrElementIgnoreAttributes()
3654 Maybe<PropertyAttributes> JSObject::GetPropertyAttributesWithInterceptor( in GetPropertyAttributesWithInterceptor()
3659 void JSObject::NormalizeProperties(Isolate* isolate, Handle<JSObject> object, in NormalizeProperties()
3669 JSObject::MigrateToMap(isolate, object, new_map, in NormalizeProperties()
3673 void JSObject::MigrateSlowToFast(Handle<JSObject> object, in MigrateSlowToFast()
3878 void JSObject::RequireSlowElements(NumberDictionary dictionary) { in RequireSlowElements()
3890 Handle<NumberDictionary> JSObject::NormalizeElements(Handle<JSObject> object) { in NormalizeElements()
3921 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, target_kind); in NormalizeElements()
3923 JSObject::MigrateToMap(isolate, object, new_map); in NormalizeElements()
3948 Maybe<bool> JSObject::DeletePropertyWithInterceptor(LookupIterator* it, in DeletePropertyWithInterceptor()
3959 Handle<JSObject> holder = it->GetHolder<JSObject>(); in DeletePropertyWithInterceptor()
3984 Maybe<bool> JSObject::CreateDataProperty(LookupIterator* it, in CreateDataProperty()
4045 bool TestPropertiesIntegrityLevel(JSObject object, PropertyAttributes level) { in TestPropertiesIntegrityLevel()
4061 bool TestElementsIntegrityLevel(JSObject object, PropertyAttributes level) { in TestElementsIntegrityLevel()
4087 bool FastTestIntegrityLevel(JSObject object, PropertyAttributes level) { in FastTestIntegrityLevel()
4097 Maybe<bool> JSObject::TestIntegrityLevel(Handle<JSObject> object, in TestIntegrityLevel()
4106 Maybe<bool> JSObject::PreventExtensions(Handle<JSObject> object, in PreventExtensions()
4128 return PreventExtensions(PrototypeIterator::GetCurrent<JSObject>(iter), in PreventExtensions()
4156 JSObject::MigrateToMap(isolate, object, new_map); in PreventExtensions()
4162 bool JSObject::IsExtensible(Handle<JSObject> object) { in IsExtensible()
4172 return iter.GetCurrent<JSObject>().map().is_extensible(); in IsExtensible()
4178 MaybeHandle<Object> JSObject::ReadFromOptionsBag(Handle<Object> options, in ReadFromOptionsBag()
4183 return JSObject::GetProperty(isolate, js_options, option_name); in ReadFromOptionsBag()
4189 void JSObject::ApplyAttributesToDictionary( in ApplyAttributesToDictionary()
4208 template void JSObject::ApplyAttributesToDictionary(
4213 Handle<JSObject> object) { in CreateElementDictionary()
4229 Maybe<bool> JSObject::PreventExtensionsWithTransition( in PreventExtensionsWithTransition()
4230 Handle<JSObject> object, ShouldThrow should_throw) { in PreventExtensionsWithTransition()
4264 PrototypeIterator::GetCurrent<JSObject>(iter), should_throw); in PreventExtensionsWithTransition()
4305 JSObject::TransitionElementsKind(object, PACKED_ELEMENTS); in PreventExtensionsWithTransition()
4309 JSObject::TransitionElementsKind(object, HOLEY_ELEMENTS); in PreventExtensionsWithTransition()
4334 JSObject::MigrateToMap(isolate, object, transition_map); in PreventExtensionsWithTransition()
4342 JSObject::MigrateToMap(isolate, object, new_map); in PreventExtensionsWithTransition()
4362 JSObject::MigrateToMap(isolate, object, new_map); in PreventExtensionsWithTransition()
4370 JSObject::ApplyAttributesToDictionary(isolate, roots, dictionary, in PreventExtensionsWithTransition()
4375 JSObject::ApplyAttributesToDictionary(isolate, roots, dictionary, in PreventExtensionsWithTransition()
4380 JSObject::ApplyAttributesToDictionary(isolate, roots, dictionary, in PreventExtensionsWithTransition()
4415 JSObject::ApplyAttributesToDictionary(isolate, ReadOnlyRoots(isolate), in PreventExtensionsWithTransition()
4423 Handle<Object> JSObject::FastPropertyAt(Isolate* isolate, in FastPropertyAt()
4424 Handle<JSObject> object, in FastPropertyAt()
4431 Handle<Object> JSObject::FastPropertyAt(Isolate* isolate, in FastPropertyAt()
4432 Handle<JSObject> object, in FastPropertyAt()
4440 Handle<Object> JSObject::DictionaryPropertyAt(Isolate* isolate, in DictionaryPropertyAt()
4441 Handle<JSObject> object, in DictionaryPropertyAt()
4454 base::Optional<Object> JSObject::DictionaryPropertyAt(Handle<JSObject> object, in DictionaryPropertyAt()
4475 bool JSObject::HasEnumerableElements() { in HasEnumerableElements()
4477 JSObject object = *this; in HasEnumerableElements()
4554 MaybeHandle<Object> JSObject::DefineAccessor(Handle<JSObject> object, in DefineAccessor()
4566 MaybeHandle<Object> JSObject::DefineAccessor(LookupIterator* it, in DefineAccessor()
4576 isolate->ReportFailedAccessCheck(it->GetHolder<JSObject>()); in DefineAccessor()
4583 Handle<JSObject> object = Handle<JSObject>::cast(it->GetReceiver()); in DefineAccessor()
4598 MaybeHandle<Object> JSObject::SetAccessor(Handle<JSObject> object, in SetAccessor()
4639 Object JSObject::SlowReverseLookup(Object value) { in SlowReverseLookup()
4678 void JSObject::PrototypeRegistryCompactionCallback(HeapObject value, in PrototypeRegistryCompactionCallback()
4690 void JSObject::MakePrototypesFast(Handle<Object> receiver, in MakePrototypesFast()
4699 Handle<JSObject> current_obj = Handle<JSObject>::cast(current); in MakePrototypesFast()
4707 JSObject::OptimizeAsPrototype(current_obj); in MakePrototypesFast()
4712 static bool PrototypeBenefitsFromNormalization(Handle<JSObject> object) { in PrototypeBenefitsFromNormalization()
4724 void JSObject::OptimizeAsPrototype(Handle<JSObject> object, in OptimizeAsPrototype()
4730 JSObject::NormalizeProperties(isolate, object, KEEP_INOBJECT_PROPERTIES, 0, in OptimizeAsPrototype()
4737 JSObject::MigrateSlowToFast(object, 0, "OptimizeAsPrototype"); in OptimizeAsPrototype()
4756 JSObject::MigrateToMap(isolate, object, new_map); in OptimizeAsPrototype()
4788 void JSObject::ReoptimizeIfPrototype(Handle<JSObject> object) { in ReoptimizeIfPrototype()
4795 void JSObject::LazyRegisterPrototypeUser(Handle<Map> user, Isolate* isolate) { in LazyRegisterPrototypeUser()
4812 Handle<JSObject> proto = Handle<JSObject>::cast(maybe_proto); in LazyRegisterPrototypeUser()
4843 bool JSObject::UnregisterPrototypeUser(Handle<Map> user, Isolate* isolate) { in UnregisterPrototypeUser()
4854 Handle<JSObject> prototype(JSObject::cast(user->prototype()), isolate); in UnregisterPrototypeUser()
4957 Map JSObject::InvalidatePrototypeChains(Map map) { in InvalidatePrototypeChains()
4971 void JSObject::InvalidatePrototypeValidityCell(JSGlobalObject global) { in InvalidatePrototypeValidityCell()
4976 Maybe<bool> JSObject::SetPrototype(Isolate* isolate, Handle<JSObject> object, in SetPrototype()
5000 Handle<JSObject> real_receiver = object; in SetPrototype()
5009 real_receiver = PrototypeIterator::GetCurrent<JSObject>(iter); in SetPrototype()
5060 JSObject::MigrateToMap(isolate, real_receiver, new_map); in SetPrototype()
5067 void JSObject::SetImmutableProto(Handle<JSObject> object) { in SetImmutableProto()
5078 void JSObject::EnsureCanContainElements(Handle<JSObject> object, in EnsureCanContainElements()
5085 void JSObject::ValidateElements(JSObject object) { in ValidateElements()
5093 bool JSObject::WouldConvertToSlowElements(uint32_t index) { in WouldConvertToSlowElements()
5100 static bool ShouldConvertToFastElements(JSObject object, in ShouldConvertToFastElements()
5129 static ElementsKind BestFittingFastElementsKind(JSObject object) { in BestFittingFastElementsKind()
5157 Maybe<bool> JSObject::AddDataElement(Handle<JSObject> object, uint32_t index, in AddDataElement()
5214 bool JSObject::UpdateAllocationSite(Handle<JSObject> object, in UpdateAllocationSite()
5239 JSObject::UpdateAllocationSite<AllocationSiteUpdateMode::kCheckOnly>(
5240 Handle<JSObject> object, ElementsKind to_kind);
5242 template bool JSObject::UpdateAllocationSite<AllocationSiteUpdateMode::kUpdate>(
5243 Handle<JSObject> object, ElementsKind to_kind);
5245 void JSObject::TransitionElementsKind(Handle<JSObject> object, in TransitionElementsKind()
5268 JSObject::MigrateToMap(isolate, object, new_map); in TransitionElementsKind()
5292 static int HoleyElementsUsage(JSObject object, BackingStore store) { in HoleyElementsUsage()
5303 int JSObject::GetFastElementsUsage() { in GetFastElementsUsage()
5343 MaybeHandle<Object> JSObject::GetPropertyWithInterceptor(LookupIterator* it, in GetPropertyWithInterceptor()
5349 Maybe<bool> JSObject::HasRealNamedProperty(Isolate* isolate, in HasRealNamedProperty()
5350 Handle<JSObject> object, in HasRealNamedProperty()
5357 Maybe<bool> JSObject::HasRealElementProperty(Isolate* isolate, in HasRealElementProperty()
5358 Handle<JSObject> object, in HasRealElementProperty()
5365 Maybe<bool> JSObject::HasRealNamedCallbackProperty(Isolate* isolate, in HasRealNamedCallbackProperty()
5366 Handle<JSObject> object, in HasRealNamedCallbackProperty()
5384 JSObject::InvalidatePrototypeValidityCell(*global); in InvalidatePropertyCell()
5402 Handle<JSObject> result; in New()
5405 JSObject::New(constructor, new_target, Handle<AllocationSite>::null()), in New()