Lines Matching refs:Handle
36 Handle<String> name(constructor->shared()->Name(), isolate); in RUNTIME_FUNCTION()
65 Object* ThrowNotSuperConstructor(Isolate* isolate, Handle<Object> constructor, in ThrowNotSuperConstructor()
66 Handle<JSFunction> function) { in ThrowNotSuperConstructor()
67 Handle<String> super_name; in ThrowNotSuperConstructor()
69 super_name = handle(Handle<JSFunction>::cast(constructor)->shared()->Name(), in ThrowNotSuperConstructor()
81 Handle<String> function_name(function->shared()->Name(), isolate); in ThrowNotSuperConstructor()
112 Handle<Name> KeyToName(Isolate* isolate, Handle<Object> key);
115 Handle<Name> KeyToName<NameDictionary>(Isolate* isolate, Handle<Object> key) { in KeyToName()
117 return Handle<Name>::cast(key); in KeyToName()
121 Handle<Name> KeyToName<NumberDictionary>(Isolate* isolate, Handle<Object> key) { in KeyToName()
149 Isolate* isolate, Arguments& args, Smi* index, Handle<JSObject> home_object, in GetMethodAndSetHomeObjectAndName()
150 Handle<String> name_prefix, Handle<Object> key) { in GetMethodAndSetHomeObjectAndName()
158 Handle<JSFunction> method = args.at<JSFunction>(int_index); in GetMethodAndSetHomeObjectAndName()
168 Handle<Name> name = KeyToName<Dictionary>(isolate, key); in GetMethodAndSetHomeObjectAndName()
195 Handle<JSFunction> method = args.at<JSFunction>(int_index); in GetMethodWithSharedNameAndSetHomeObject()
204 Handle<Dictionary> ShallowCopyDictionaryTemplate( in ShallowCopyDictionaryTemplate()
205 Isolate* isolate, Handle<Dictionary> dictionary_template) { in ShallowCopyDictionaryTemplate()
206 Handle<Map> dictionary_map(dictionary_template->map(), isolate); in ShallowCopyDictionaryTemplate()
207 Handle<Dictionary> dictionary = in ShallowCopyDictionaryTemplate()
208 Handle<Dictionary>::cast(isolate->factory()->CopyFixedArrayWithMap( in ShallowCopyDictionaryTemplate()
215 Handle<AccessorPair> pair(AccessorPair::cast(value), isolate); in ShallowCopyDictionaryTemplate()
224 bool SubstituteValues(Isolate* isolate, Handle<Dictionary> dictionary, in SubstituteValues()
225 Handle<JSObject> receiver, Arguments& args, in SubstituteValues()
227 Handle<Name> name_string = isolate->factory()->name_string(); in SubstituteValues()
239 Handle<Object> key(maybe_key, isolate); in SubstituteValues()
240 Handle<Object> value(dictionary->ValueAt(i), isolate); in SubstituteValues()
242 Handle<AccessorPair> pair = Handle<AccessorPair>::cast(value); in SubstituteValues()
245 Handle<Object> result; in SubstituteValues()
256 Handle<Object> result; in SubstituteValues()
266 Handle<Object> result; in SubstituteValues()
280 Isolate* isolate, Handle<Map> map, in AddDescriptorsByTemplate()
281 Handle<DescriptorArray> descriptors_template, in AddDescriptorsByTemplate()
282 Handle<NumberDictionary> elements_dictionary_template, in AddDescriptorsByTemplate()
283 Handle<JSObject> receiver, Arguments& args) { in AddDescriptorsByTemplate()
286 Handle<DescriptorArray> descriptors = in AddDescriptorsByTemplate()
289 Handle<NumberDictionary> elements_dictionary = in AddDescriptorsByTemplate()
301 Handle<AccessorPair> pair = AccessorPair::Copy( in AddDescriptorsByTemplate()
361 Isolate* isolate, Handle<Map> map, in AddDescriptorsByTemplate()
362 Handle<NameDictionary> properties_dictionary_template, in AddDescriptorsByTemplate()
363 Handle<NumberDictionary> elements_dictionary_template, in AddDescriptorsByTemplate()
364 Handle<FixedArray> computed_properties, Handle<JSObject> receiver, in AddDescriptorsByTemplate()
369 Handle<NameDictionary> properties_dictionary = in AddDescriptorsByTemplate()
371 Handle<NumberDictionary> elements_dictionary = in AddDescriptorsByTemplate()
387 Handle<Object> key = args.at<Object>(key_index); in AddDescriptorsByTemplate()
390 Handle<Name> name = Handle<Name>::cast(key); in AddDescriptorsByTemplate()
412 Handle<NameDictionary> dict = NameDictionary::Add( in AddDescriptorsByTemplate()
435 Handle<JSObject> CreateClassPrototype(Isolate* isolate) { in CreateClassPrototype()
441 Handle<Map> map = factory->ObjectLiteralMapFromCache( in CreateClassPrototype()
448 Handle<ClassBoilerplate> class_boilerplate, in InitClassPrototype()
449 Handle<JSObject> prototype, in InitClassPrototype()
450 Handle<Object> prototype_parent, in InitClassPrototype()
451 Handle<JSFunction> constructor, Arguments& args) { in InitClassPrototype()
452 Handle<Map> map(prototype->map(), isolate); in InitClassPrototype()
458 Handle<FixedArray> computed_properties( in InitClassPrototype()
460 Handle<NumberDictionary> elements_dictionary_template( in InitClassPrototype()
464 Handle<Object> properties_template( in InitClassPrototype()
467 Handle<NameDictionary> properties_dictionary_template = in InitClassPrototype()
468 Handle<NameDictionary>::cast(properties_template); in InitClassPrototype()
483 Handle<DescriptorArray> descriptors_template = in InitClassPrototype()
484 Handle<DescriptorArray>::cast(properties_template); in InitClassPrototype()
496 Handle<ClassBoilerplate> class_boilerplate, in InitClassConstructor()
497 Handle<Object> constructor_parent, in InitClassConstructor()
498 Handle<JSFunction> constructor, Arguments& args) { in InitClassConstructor()
499 Handle<Map> map(constructor->map(), isolate); in InitClassConstructor()
509 Handle<NumberDictionary> elements_dictionary_template( in InitClassConstructor()
512 Handle<FixedArray> computed_properties( in InitClassConstructor()
515 Handle<Object> properties_template( in InitClassConstructor()
519 Handle<NameDictionary> properties_dictionary_template = in InitClassConstructor()
520 Handle<NameDictionary>::cast(properties_template); in InitClassConstructor()
537 Handle<DescriptorArray> descriptors_template = in InitClassConstructor()
538 Handle<DescriptorArray>::cast(properties_template); in InitClassConstructor()
547 Handle<ClassBoilerplate> class_boilerplate, in DefineClass()
548 Handle<Object> super_class, in DefineClass()
549 Handle<JSFunction> constructor, in DefineClass()
551 Handle<Object> prototype_parent; in DefineClass()
552 Handle<Object> constructor_parent; in DefineClass()
562 Handle<JSFunction>::cast(super_class)->shared()->kind())); in DefineClass()
587 Handle<JSObject> prototype = CreateClassPrototype(isolate); in DefineClass()
629 Isolate* isolate, Handle<Object> receiver, Handle<JSObject> home_object, in GetSuperHolder()
638 Handle<Object> proto = PrototypeIterator::GetCurrent(iter); in GetSuperHolder()
643 Handle<Name> name; in GetSuperHolder()
649 return Handle<JSReceiver>::cast(proto); in GetSuperHolder()
652 MaybeHandle<Object> LoadFromSuper(Isolate* isolate, Handle<Object> receiver, in LoadFromSuper()
653 Handle<JSObject> home_object, in LoadFromSuper()
654 Handle<Name> name) { in LoadFromSuper()
655 Handle<JSReceiver> holder; in LoadFromSuper()
661 Handle<Object> result; in LoadFromSuper()
667 Handle<Object> receiver, in LoadElementFromSuper()
668 Handle<JSObject> home_object, in LoadElementFromSuper()
670 Handle<JSReceiver> holder; in LoadElementFromSuper()
677 Handle<Object> result; in LoadElementFromSuper()
710 Handle<Name> name; in RUNTIME_FUNCTION()
724 MaybeHandle<Object> StoreToSuper(Isolate* isolate, Handle<JSObject> home_object, in StoreToSuper()
725 Handle<Object> receiver, Handle<Name> name, in StoreToSuper()
726 Handle<Object> value, in StoreToSuper()
728 Handle<JSReceiver> holder; in StoreToSuper()
741 Handle<JSObject> home_object, in StoreElementToSuper()
742 Handle<Object> receiver, uint32_t index, in StoreElementToSuper()
743 Handle<Object> value, in StoreElementToSuper()
745 Handle<JSReceiver> holder; in StoreElementToSuper()
788 Isolate* isolate, Handle<JSObject> home_object, Handle<Object> receiver, in StoreKeyedToSuper()
789 Handle<Object> key, Handle<Object> value, LanguageMode language_mode) { in StoreKeyedToSuper()
796 Handle<Name> name; in StoreKeyedToSuper()