Lines Matching defs:constructor

465     // constructor instead of the executing Realm's.
625 // function as a constructor.
674 // constructor field so it can be accessed. Also, set the prototype
713 Handle<JSFunction> constructor) {
717 map->SetConstructor(*constructor);
770 // Finally link initial map and constructor function.
911 Handle<JSFunction> constructor,
915 // Check that |function|'s initial map still in sync with the |constructor|,
918 new_target->initial_map().GetConstructor() == *constructor) {
927 // Link initial map and constructor function if the new.target is actually a
928 // subclass constructor.
937 // if 1) the constructor is not in the prototype chain of new_target, or
942 static_cast<int>(constructor->shared().expected_nof_properties()),
958 JSFunction::SetInitialMap(isolate, new_target, map, prototype, constructor);
969 Handle<JSFunction> constructor,
971 EnsureHasInitialMap(constructor);
973 Handle<Map> constructor_initial_map(constructor->initial_map(), isolate);
974 if (*new_target == *constructor) return constructor_initial_map;
977 // Fast case, new.target is a subclass of constructor. The map is cacheable
982 if (FastInitializeDerivedMap(isolate, function, constructor,
1007 // The above prototype lookup might change the constructor and its
1009 EnsureHasInitialMap(constructor);
1010 constructor_initial_map = handle(constructor->initial_map(), isolate);
1015 // constructor that points to the .prototype. This relies on
1016 // constructor.prototype being FROZEN for those constructors.
1023 isolate, constructor,
1037 map->SetConstructor(*constructor);
1071 Handle<JSFunction> constructor,
1074 GetDerivedMap(isolate, constructor, new_target).ToHandleChecked();
1266 // The super constructor should be compiled for the number of expected