• Home
  • Raw
  • Download

Lines Matching refs:isolate

26 MaybeHandle<Object> Runtime::GetObjectProperty(Isolate* isolate,  in GetObjectProperty()  argument
34 if (holder->IsNullOrUndefined(isolate)) { in GetObjectProperty()
35 ErrorUtils::ThrowLoadFromNullOrUndefined(isolate, holder, key); in GetObjectProperty()
40 LookupIterator::Key lookup_key(isolate, key, &success); in GetObjectProperty()
42 LookupIterator it = LookupIterator(isolate, receiver, lookup_key, holder); in GetObjectProperty()
50 Handle<Object> name(sym->description(), isolate); in GetObjectProperty()
55 ? isolate->factory()->anonymous_string() in GetObjectProperty()
57 THROW_NEW_ERROR(isolate, in GetObjectProperty()
62 THROW_NEW_ERROR(isolate, in GetObjectProperty()
70 MaybeHandle<Object> Runtime::HasProperty(Isolate* isolate, in HasProperty() argument
76 isolate, in HasProperty()
84 ASSIGN_RETURN_ON_EXCEPTION(isolate, name, Object::ToName(isolate, key), in HasProperty()
90 return maybe.FromJust() ? ReadOnlyRoots(isolate).true_value_handle() in HasProperty()
91 : ReadOnlyRoots(isolate).false_value_handle(); in HasProperty()
96 bool DeleteObjectPropertyFast(Isolate* isolate, Handle<JSReceiver> receiver, in DeleteObjectPropertyFast() argument
103 Handle<Map> receiver_map(receiver->map(), isolate); in DeleteObjectPropertyFast()
112 receiver_map->instance_descriptors(kRelaxedLoad), isolate); in DeleteObjectPropertyFast()
118 Handle<Object> backpointer(receiver_map->GetBackPointer(), isolate); in DeleteObjectPropertyFast()
139 isolate); in DeleteObjectPropertyFast()
140 Map::GeneralizeField(isolate, receiver_map, descriptor, in DeleteObjectPropertyFast()
155 isolate->heap()->NotifyObjectLayoutChange(*receiver, no_allocation, in DeleteObjectPropertyFast()
163 receiver->SetProperties(ReadOnlyRoots(isolate).empty_fixed_array()); in DeleteObjectPropertyFast()
165 Object filler = ReadOnlyRoots(isolate).one_pointer_filler_map(); in DeleteObjectPropertyFast()
175 isolate->heap()->ClearRecordedSlot(*receiver, in DeleteObjectPropertyFast()
186 receiver_map->NotifyLeafMapLayoutChange(isolate); in DeleteObjectPropertyFast()
190 receiver->HeapObjectVerify(isolate); in DeleteObjectPropertyFast()
191 receiver->property_array().PropertyArrayVerify(isolate); in DeleteObjectPropertyFast()
198 Maybe<bool> Runtime::DeleteObjectProperty(Isolate* isolate, in DeleteObjectProperty() argument
202 if (DeleteObjectPropertyFast(isolate, receiver, key)) return Just(true); in DeleteObjectProperty()
205 LookupIterator::Key lookup_key(isolate, key, &success); in DeleteObjectProperty()
207 LookupIterator it(isolate, receiver, lookup_key, LookupIterator::OWN); in DeleteObjectProperty()
214 HandleScope scope(isolate); in RUNTIME_FUNCTION()
219 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, receiver, in RUNTIME_FUNCTION()
220 Object::ToObject(isolate, object)); in RUNTIME_FUNCTION()
225 isolate, keys, in RUNTIME_FUNCTION()
234 HandleScope scope(isolate); in RUNTIME_FUNCTION()
239 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, receiver, in RUNTIME_FUNCTION()
240 Object::ToObject(isolate, object)); in RUNTIME_FUNCTION()
247 isolate, keys, in RUNTIME_FUNCTION()
255 HandleScope scope(isolate); in RUNTIME_FUNCTION()
260 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, receiver, in RUNTIME_FUNCTION()
261 Object::ToObject(isolate, object)); in RUNTIME_FUNCTION()
263 Handle<Map> map(receiver->map(), isolate); in RUNTIME_FUNCTION()
269 isolate, keys, in RUNTIME_FUNCTION()
275 isolate, keys, in RUNTIME_FUNCTION()
286 HandleScope scope(isolate); in RUNTIME_FUNCTION()
292 LookupIterator::Key key(isolate, property, &success); in RUNTIME_FUNCTION()
293 if (!success) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
300 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
302 LookupIterator it(isolate, object, key, LookupIterator::OWN); in RUNTIME_FUNCTION()
305 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
306 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
317 LookupIterator it(isolate, js_obj, key, js_obj, c); in RUNTIME_FUNCTION()
319 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
320 DCHECK(!isolate->has_pending_exception()); in RUNTIME_FUNCTION()
321 if (maybe.FromJust()) return ReadOnlyRoots(isolate).true_value(); in RUNTIME_FUNCTION()
329 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
333 LookupIterator it(isolate, js_obj, key, js_obj, LookupIterator::OWN); in RUNTIME_FUNCTION()
335 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
336 DCHECK(!isolate->has_pending_exception()); in RUNTIME_FUNCTION()
337 return isolate->heap()->ToBoolean(maybe.FromJust()); in RUNTIME_FUNCTION()
340 LookupIterator it(isolate, object, key, Handle<JSProxy>::cast(object), in RUNTIME_FUNCTION()
344 if (attributes.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
345 return isolate->heap()->ToBoolean(attributes.FromJust() != ABSENT); in RUNTIME_FUNCTION()
348 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
351 : key.name()->Equals(ReadOnlyRoots(isolate).length_string())); in RUNTIME_FUNCTION()
352 } else if (object->IsNullOrUndefined(isolate)) { in RUNTIME_FUNCTION()
354 isolate, NewTypeError(MessageTemplate::kUndefinedOrNullToObject)); in RUNTIME_FUNCTION()
357 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
361 HandleScope scope(isolate); in RUNTIME_FUNCTION()
368 Handle<NameDictionary> dictionary(receiver->property_dictionary(), isolate); in RUNTIME_FUNCTION()
371 NameDictionary::Add(isolate, dictionary, name, value, property_details); in RUNTIME_FUNCTION()
380 HandleScope scope(isolate); in RUNTIME_FUNCTION()
385 if (!prototype->IsNull(isolate) && !prototype->IsJSReceiver()) { in RUNTIME_FUNCTION()
387 isolate, NewTypeError(MessageTemplate::kProtoObjectOrNull, prototype)); in RUNTIME_FUNCTION()
391 isolate, obj, JSObject::ObjectCreate(isolate, prototype)); in RUNTIME_FUNCTION()
394 if (!properties->IsUndefined(isolate)) { in RUNTIME_FUNCTION()
398 isolate, JSReceiver::DefineProperties(isolate, obj, properties)); in RUNTIME_FUNCTION()
405 Isolate* isolate, Handle<Object> object, Handle<Object> key, in SetObjectProperty() argument
408 if (object->IsNullOrUndefined(isolate)) { in SetObjectProperty()
410 isolate, in SetObjectProperty()
417 LookupIterator::Key lookup_key(isolate, key, &success); in SetObjectProperty()
419 LookupIterator it(isolate, object, lookup_key); in SetObjectProperty()
423 Handle<Object> name_string(Symbol::cast(*key).description(), isolate); in SetObjectProperty()
425 THROW_NEW_ERROR(isolate, in SetObjectProperty()
438 HandleScope scope(isolate); in RUNTIME_FUNCTION()
443 ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
448 HandleScope scope(isolate); in RUNTIME_FUNCTION()
453 if (properties > 100000) return isolate->ThrowIllegalOperation(); in RUNTIME_FUNCTION()
455 JSObject::NormalizeProperties(isolate, object, KEEP_INOBJECT_PROPERTIES, in RUNTIME_FUNCTION()
462 HandleScope scope(isolate); in RUNTIME_FUNCTION()
469 isolate, values, in RUNTIME_FUNCTION()
472 return *isolate->factory()->NewJSArrayWithElements(values); in RUNTIME_FUNCTION()
476 HandleScope scope(isolate); in RUNTIME_FUNCTION()
483 isolate, value, in RUNTIME_FUNCTION()
486 return *isolate->factory()->NewJSArrayWithElements(value); in RUNTIME_FUNCTION()
490 HandleScope scope(isolate); in RUNTIME_FUNCTION()
497 isolate, entries, in RUNTIME_FUNCTION()
500 return *isolate->factory()->NewJSArrayWithElements(entries); in RUNTIME_FUNCTION()
504 HandleScope scope(isolate); in RUNTIME_FUNCTION()
511 isolate, entries, in RUNTIME_FUNCTION()
514 return *isolate->factory()->NewJSArrayWithElements(entries); in RUNTIME_FUNCTION()
518 HandleScope scope(isolate); in RUNTIME_FUNCTION()
526 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
527 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
531 HandleScope scope(isolate); in RUNTIME_FUNCTION()
537 ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
542 HandleScope scope(isolate); in RUNTIME_FUNCTION()
548 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
549 return *isolate->factory()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
553 HandleScope scope(isolate); in RUNTIME_FUNCTION()
557 RETURN_RESULT_OR_FAILURE(isolate, in RUNTIME_FUNCTION()
558 JSReceiver::GetPrototype(isolate, receiver)); in RUNTIME_FUNCTION()
562 HandleScope scope(isolate); in RUNTIME_FUNCTION()
569 ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
575 HandleScope scope(isolate); in RUNTIME_FUNCTION()
583 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
584 return *isolate->factory()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
588 HandleScope scope(isolate); in RUNTIME_FUNCTION()
614 key_obj = isolate->factory()->NewNumberFromUint(index); in RUNTIME_FUNCTION()
621 key_obj = key = isolate->factory()->InternalizeName(key); in RUNTIME_FUNCTION()
628 InternalIndex entry = dictionary.FindEntry(isolate, key); in RUNTIME_FUNCTION()
633 if (!value.IsTheHole(isolate)) return value; in RUNTIME_FUNCTION()
640 InternalIndex entry = dictionary.FindEntry(isolate, key); in RUNTIME_FUNCTION()
671 Factory* factory = isolate->factory(); in RUNTIME_FUNCTION()
673 String::Flatten(isolate, str)->Get(index)); in RUNTIME_FUNCTION()
679 isolate, in RUNTIME_FUNCTION()
680 Runtime::GetObjectProperty(isolate, holder_obj, key_obj, receiver_obj)); in RUNTIME_FUNCTION()
684 HandleScope scope(isolate); in RUNTIME_FUNCTION()
692 isolate, Runtime::SetObjectProperty(isolate, object, key, value, in RUNTIME_FUNCTION()
697 HandleScope scope(isolate); in RUNTIME_FUNCTION()
705 isolate, Runtime::SetObjectProperty(isolate, object, key, value, in RUNTIME_FUNCTION()
714 HandleScope scope(isolate); in RUNTIME_FUNCTION()
721 LookupIterator::Key lookup_key(isolate, key); in RUNTIME_FUNCTION()
722 LookupIterator it(isolate, object, lookup_key, LookupIterator::OWN); in RUNTIME_FUNCTION()
726 RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate); in RUNTIME_FUNCTION()
736 Object DeleteProperty(Isolate* isolate, Handle<Object> object, in DeleteProperty() argument
739 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, receiver, in DeleteProperty()
740 Object::ToObject(isolate, object)); in DeleteProperty()
742 Runtime::DeleteObjectProperty(isolate, receiver, key, language_mode); in DeleteProperty()
743 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in DeleteProperty()
744 return isolate->heap()->ToBoolean(result.FromJust()); in DeleteProperty()
750 HandleScope scope(isolate); in RUNTIME_FUNCTION()
755 return DeleteProperty(isolate, object, key, in RUNTIME_FUNCTION()
760 HandleScope scope(isolate); in RUNTIME_FUNCTION()
763 Handle<NameDictionary> dictionary(receiver->property_dictionary(), isolate); in RUNTIME_FUNCTION()
765 NameDictionary::Shrink(isolate, dictionary); in RUNTIME_FUNCTION()
772 HandleScope scope(isolate); in RUNTIME_FUNCTION()
780 isolate, in RUNTIME_FUNCTION()
787 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, name, in RUNTIME_FUNCTION()
788 Object::ToName(isolate, key)); in RUNTIME_FUNCTION()
792 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
793 return isolate->heap()->ToBoolean(maybe.FromJust()); in RUNTIME_FUNCTION()
797 HandleScope scope(isolate); in RUNTIME_FUNCTION()
805 isolate, keys, in RUNTIME_FUNCTION()
809 return *isolate->factory()->NewJSArrayWithElements(keys); in RUNTIME_FUNCTION()
813 HandleScope scope(isolate); in RUNTIME_FUNCTION()
824 HandleScope scope(isolate); in RUNTIME_FUNCTION()
826 return *isolate->factory()->NewHeapNumber(0); in RUNTIME_FUNCTION()
830 HandleScope scope(isolate); in RUNTIME_FUNCTION()
835 isolate, in RUNTIME_FUNCTION()
840 HandleScope scope(isolate); in RUNTIME_FUNCTION()
845 isolate, JSFunction::GetDerivedMap(isolate, target, new_target)); in RUNTIME_FUNCTION()
850 HandleScope scope(isolate); in RUNTIME_FUNCTION()
854 initial_map->CompleteInobjectSlackTracking(isolate); in RUNTIME_FUNCTION()
856 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
860 HandleScope scope(isolate); in RUNTIME_FUNCTION()
869 if (!JSObject::TryMigrateInstance(isolate, js_object)) return Smi::zero(); in RUNTIME_FUNCTION()
873 static bool IsValidAccessor(Isolate* isolate, Handle<Object> obj) { in IsValidAccessor() argument
874 return obj->IsNullOrUndefined(isolate) || obj->IsCallable(); in IsValidAccessor()
884 HandleScope scope(isolate); in RUNTIME_FUNCTION()
887 CHECK(!obj->IsNull(isolate)); in RUNTIME_FUNCTION()
890 CHECK(IsValidAccessor(isolate, getter)); in RUNTIME_FUNCTION()
892 CHECK(IsValidAccessor(isolate, setter)); in RUNTIME_FUNCTION()
896 isolate, JSObject::DefineAccessor(obj, name, getter, setter, attrs)); in RUNTIME_FUNCTION()
897 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
901 HandleScope scope(isolate); in RUNTIME_FUNCTION()
916 nexus.ConfigureMonomorphic(name, handle(object->map(), isolate), in RUNTIME_FUNCTION()
937 Handle<Map> function_map(function->map(), isolate); in RUNTIME_FUNCTION()
939 isolate->factory()->empty_string())) { in RUNTIME_FUNCTION()
940 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
947 LookupIterator::Key key(isolate, name); in RUNTIME_FUNCTION()
948 LookupIterator it(isolate, object, key, object, LookupIterator::OWN); in RUNTIME_FUNCTION()
958 HandleScope scope(isolate); in RUNTIME_FUNCTION()
965 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
969 Handle<String> type = Object::TypeOf(isolate, value); in RUNTIME_FUNCTION()
973 } else if (value->IsNull(isolate)) { in RUNTIME_FUNCTION()
976 type = Handle<String>(ReadOnlyRoots(isolate).null_string(), isolate); in RUNTIME_FUNCTION()
983 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
987 SealHandleScope shs(isolate); in RUNTIME_FUNCTION()
990 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
995 SealHandleScope shs(isolate); in RUNTIME_FUNCTION()
998 return isolate->heap()->ToBoolean(obj.IsJSReceiver()); in RUNTIME_FUNCTION()
1002 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1005 return *JSFunction::GetName(isolate, function); in RUNTIME_FUNCTION()
1009 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1017 Handle<Map> getter_map(getter->map(), isolate); in RUNTIME_FUNCTION()
1018 if (!JSFunction::SetName(getter, name, isolate->factory()->get_string())) { in RUNTIME_FUNCTION()
1019 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
1025 isolate, in RUNTIME_FUNCTION()
1027 isolate->factory()->null_value(), attrs)); in RUNTIME_FUNCTION()
1028 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
1032 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1038 if (source->IsUndefined(isolate) || source->IsNull(isolate)) { in RUNTIME_FUNCTION()
1039 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
1042 MAYBE_RETURN(JSReceiver::SetOrCopyDataProperties(isolate, target, source), in RUNTIME_FUNCTION()
1043 ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
1044 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
1048 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1054 if (source->IsUndefined(isolate) || source->IsNull(isolate)) { in RUNTIME_FUNCTION()
1055 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
1058 MAYBE_RETURN(JSReceiver::SetOrCopyDataProperties(isolate, target, source, in RUNTIME_FUNCTION()
1060 ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
1061 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
1065 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1070 if (source->IsNullOrUndefined(isolate)) { in RUNTIME_FUNCTION()
1071 return ErrorUtils::ThrowLoadFromNullOrUndefined(isolate, source, in RUNTIME_FUNCTION()
1085 property = isolate->factory()->NewNumberFromUint(property_num); in RUNTIME_FUNCTION()
1092 isolate->factory()->NewJSObject(isolate->object_function()); in RUNTIME_FUNCTION()
1093 MAYBE_RETURN(JSReceiver::SetOrCopyDataProperties(isolate, target, source, in RUNTIME_FUNCTION()
1095 ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
1100 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1108 Handle<Map> setter_map(setter->map(), isolate); in RUNTIME_FUNCTION()
1109 if (!JSFunction::SetName(setter, name, isolate->factory()->set_string())) { in RUNTIME_FUNCTION()
1110 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
1116 isolate, in RUNTIME_FUNCTION()
1117 JSObject::DefineAccessor(object, name, isolate->factory()->null_value(), in RUNTIME_FUNCTION()
1119 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
1129 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1132 RETURN_RESULT_OR_FAILURE(isolate, Object::ToNumber(isolate, input)); in RUNTIME_FUNCTION()
1136 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1139 RETURN_RESULT_OR_FAILURE(isolate, Object::ToNumeric(isolate, input)); in RUNTIME_FUNCTION()
1143 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1146 RETURN_RESULT_OR_FAILURE(isolate, Object::ToLength(isolate, input)); in RUNTIME_FUNCTION()
1150 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1153 RETURN_RESULT_OR_FAILURE(isolate, Object::ToString(isolate, input)); in RUNTIME_FUNCTION()
1157 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1160 RETURN_RESULT_OR_FAILURE(isolate, Object::ToName(isolate, input)); in RUNTIME_FUNCTION()
1164 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1168 if (!object->IsJSReceiver()) return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
1170 isolate, Handle<JSReceiver>::cast(object), prototype); in RUNTIME_FUNCTION()
1171 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
1172 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
1177 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1181 return *isolate->factory()->NewJSIteratorResult(value, in RUNTIME_FUNCTION()
1182 done->BooleanValue(isolate)); in RUNTIME_FUNCTION()
1186 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1192 LookupIterator::Key lookup_key(isolate, key, &success); in RUNTIME_FUNCTION()
1193 if (!success) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
1194 LookupIterator it(isolate, o, lookup_key, LookupIterator::OWN); in RUNTIME_FUNCTION()
1196 ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
1201 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1209 isolate, JSObject::SetOwnPropertyIgnoreAttributes( in RUNTIME_FUNCTION()
1214 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1222 JSReceiver::GetOwnPropertyDescriptor(isolate, object, name, &desc); in RUNTIME_FUNCTION()
1223 MAYBE_RETURN(found, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
1225 if (!found.FromJust()) return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
1226 return *desc.ToPropertyDescriptorObject(isolate); in RUNTIME_FUNCTION()
1230 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1238 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1246 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1250 Handle<AccessorPair> pair = isolate->factory()->NewAccessorPair(); in RUNTIME_FUNCTION()
1256 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1263 LookupIterator it(isolate, receiver, brand, LookupIterator::OWN); in RUNTIME_FUNCTION()
1267 isolate, NewTypeError(MessageTemplate::kVarRedeclaration, brand)); in RUNTIME_FUNCTION()
1279 HandleScope scope(isolate); in RUNTIME_FUNCTION()
1286 LookupIterator it(isolate, o, key, LookupIterator::OWN); in RUNTIME_FUNCTION()
1290 isolate, NewTypeError(MessageTemplate::kVarRedeclaration, key)); in RUNTIME_FUNCTION()
1296 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()