• Home
  • Raw
  • Download

Lines Matching refs:holder

20     bool* success, Handle<JSReceiver> holder, Configuration configuration) {  in PropertyOrElement()  argument
24 return LookupIterator(isolate, receiver, index, holder, configuration); in PropertyOrElement()
37 LookupIterator it(isolate, receiver, index, holder, configuration); in PropertyOrElement()
44 return LookupIterator(receiver, name, holder, configuration); in PropertyOrElement()
150 JSReceiver* holder = *holder_; in Start() local
151 Map* map = holder->map(); in Start()
153 state_ = LookupInHolder<is_element>(map, holder); in Start()
156 NextInternal<is_element>(map, holder); in Start()
168 JSReceiver* holder = *holder_; in Next() local
169 Map* map = holder->map(); in Next()
172 state_ = IsElement() ? LookupInSpecialHolder<true>(map, holder) in Next()
173 : LookupInSpecialHolder<false>(map, holder); in Next()
177 IsElement() ? NextInternal<true>(map, holder) in Next()
178 : NextInternal<false>(map, holder); in Next()
182 void LookupIterator::NextInternal(Map* map, JSReceiver* holder) { in NextInternal() argument
191 if (holder != *holder_) holder_ = handle(holder, isolate_); in NextInternal()
194 holder = maybe_holder; in NextInternal()
195 map = holder->map(); in NextInternal()
196 state_ = LookupInHolder<is_element>(map, holder); in NextInternal()
199 holder_ = handle(holder, isolate_); in NextInternal()
257 bool IsTypedArrayFunctionInAnyContext(Isolate* isolate, JSReceiver* holder) { in IsTypedArrayFunctionInAnyContext() argument
266 if (!holder->IsJSFunction()) return false; in IsTypedArrayFunctionInAnyContext()
270 [=](uint32_t slot) { return isolate->IsInAnyContext(holder, slot); }); in IsTypedArrayFunctionInAnyContext()
390 Handle<JSReceiver> holder = GetHolder<JSReceiver>(); in PrepareForDataProperty() local
392 DCHECK_IMPLIES(holder->IsJSProxy(), !holder->HasFastProperties()); in PrepareForDataProperty()
393 DCHECK_IMPLIES(holder->IsJSProxy(), name()->IsPrivate()); in PrepareForDataProperty()
394 if (holder->IsJSProxy()) return; in PrepareForDataProperty()
396 Handle<JSObject> holder_obj = Handle<JSObject>::cast(holder); in PrepareForDataProperty()
463 Handle<JSReceiver> holder = GetHolder<JSReceiver>(); in ReconfigureDataProperty() local
466 if (holder->IsJSProxy()) { in ReconfigureDataProperty()
471 Handle<JSObject> holder_obj = Handle<JSObject>::cast(holder); in ReconfigureDataProperty()
500 JSObject::InvalidatePrototypeChains(holder->map()); in ReconfigureDataProperty()
529 holder->HeapObjectVerify(isolate()); in ReconfigureDataProperty()
662 Handle<JSReceiver> holder = Handle<JSReceiver>::cast(holder_); in Delete() local
664 Handle<JSObject> object = Handle<JSObject>::cast(holder); in Delete()
669 bool is_prototype_map = holder->map()->is_prototype_map(); in Delete()
678 if (holder->HasFastProperties()) { in Delete()
679 JSObject::NormalizeProperties(Handle<JSObject>::cast(holder), mode, 0, in Delete()
683 JSReceiver::DeleteNormalizedProperty(holder, number_); in Delete()
684 if (holder->IsJSObject()) { in Delete()
685 JSObject::ReoptimizeIfPrototype(Handle<JSObject>::cast(holder)); in Delete()
838 Handle<JSObject> holder = GetHolder<JSObject>(); in FetchValue() local
839 ElementsAccessor* accessor = holder->GetElementsAccessor(); in FetchValue()
840 return accessor->Get(holder, number_); in FetchValue()
842 Handle<JSGlobalObject> holder = GetHolder<JSGlobalObject>(); in FetchValue() local
843 result = holder->global_dictionary()->ValueAt(number_); in FetchValue()
848 Handle<JSObject> holder = GetHolder<JSObject>(); in FetchValue() local
849 FieldIndex field_index = FieldIndex::ForDescriptor(holder->map(), number_); in FetchValue()
850 return JSObject::FastPropertyAt(holder, property_details_.representation(), in FetchValue()
863 Handle<JSObject> holder = GetHolder<JSObject>(); in IsConstFieldValueEqualTo() local
864 FieldIndex field_index = FieldIndex::ForDescriptor(holder->map(), number_); in IsConstFieldValueEqualTo()
868 if (holder->IsUnboxedDoubleField(field_index)) { in IsConstFieldValueEqualTo()
869 bits = holder->RawFastDoublePropertyAsBitsAt(field_index); in IsConstFieldValueEqualTo()
871 Object* current_value = holder->RawFastPropertyAt(field_index); in IsConstFieldValueEqualTo()
886 Object* current_value = holder->RawFastPropertyAt(field_index); in IsConstFieldValueEqualTo()
948 Handle<JSGlobalObject> holder = GetHolder<JSGlobalObject>(); in GetPropertyCell() local
949 return handle(holder->global_dictionary()->CellAt(dictionary_entry()), in GetPropertyCell()
969 Handle<JSReceiver> holder = GetHolder<JSReceiver>(); in WriteDataValue() local
971 Handle<JSObject> object = Handle<JSObject>::cast(holder); in WriteDataValue()
974 } else if (holder->HasFastProperties()) { in WriteDataValue()
981 JSObject::cast(*holder)->WriteToField(descriptor_number(), in WriteDataValue()
987 } else if (holder->IsJSGlobalObject()) { in WriteDataValue()
989 JSGlobalObject::cast(*holder)->global_dictionary(); in WriteDataValue()
992 DCHECK_IMPLIES(holder->IsJSProxy(), name()->IsPrivate()); in WriteDataValue()
993 NameDictionary* dictionary = holder->property_dictionary(); in WriteDataValue()
999 bool LookupIterator::SkipInterceptor(JSObject* holder) { in SkipInterceptor() argument
1000 auto info = GetInterceptor<is_element>(holder); in SkipInterceptor()
1025 LookupIterator::State LookupIterator::NotFound(JSReceiver* const holder) const { in NotFound()
1027 if (!holder->IsJSTypedArray() || !name_->IsString()) return NOT_FOUND; in NotFound()
1049 Map* const map, JSReceiver* const holder) { in LookupInSpecialHolder() argument
1062 !SkipInterceptor<is_element>(JSObject::cast(holder))) { in LookupInSpecialHolder()
1069 JSGlobalObject::cast(holder)->global_dictionary(); in LookupInSpecialHolder()
1084 return LookupInRegularHolder<is_element>(map, holder); in LookupInSpecialHolder()
1098 Map* const map, JSReceiver* const holder) { in LookupInRegularHolder() argument
1105 JSObject* js_object = JSObject::cast(holder); in LookupInRegularHolder()
1111 return holder->IsJSTypedArray() ? INTEGER_INDEXED_EXOTIC : NOT_FOUND; in LookupInRegularHolder()
1117 if (number == DescriptorArray::kNotFound) return NotFound(holder); in LookupInRegularHolder()
1121 DCHECK_IMPLIES(holder->IsJSProxy(), name()->IsPrivate()); in LookupInRegularHolder()
1122 NameDictionary* dict = holder->property_dictionary(); in LookupInRegularHolder()
1124 if (number == NameDictionary::kNotFound) return NotFound(holder); in LookupInRegularHolder()