Lines Matching refs:JSFunction
173 Handle<JSFunction> CreateEmptyFunction(Isolate* isolate);
175 Handle<JSFunction> GetStrictPoisonFunction();
177 Handle<JSFunction> GetGeneratorPoisonFunction();
179 void CreateStrictModeFunctionMaps(Handle<JSFunction> empty);
205 Handle<JSFunction> empty_function);
211 Handle<JSFunction> InstallInternalArray(Handle<JSBuiltinsObject> builtins,
219 Handle<JSFunction>* fun,
292 Handle<JSFunction> empty_function);
320 Handle<JSFunction> strict_poison_function;
321 Handle<JSFunction> generator_poison_function;
367 static Handle<JSFunction> InstallFunction(Handle<JSObject> target, in InstallFunction()
378 Handle<JSFunction> function = maybe_prototype.ToHandle(&prototype) in InstallFunction()
448 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); in CreateFunctionMap()
455 Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) { in CreateEmptyFunction()
485 Handle<JSFunction> object_fun = factory->NewFunction(object_name); in CreateEmptyFunction()
491 JSFunction::SetInitialMap(object_fun, object_function_map, in CreateEmptyFunction()
518 Handle<JSFunction> empty_function = factory->NewFunctionWithoutPrototype( in CreateEmptyFunction()
606 Handle<JSFunction> Genesis::GetStrictPoisonFunction() { in GetStrictPoisonFunction()
622 Handle<JSFunction> Genesis::GetGeneratorPoisonFunction() { in GetGeneratorPoisonFunction()
641 Handle<JSFunction> empty_function) { in CreateStrictFunctionMap()
642 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); in CreateStrictFunctionMap()
650 void Genesis::CreateStrictModeFunctionMaps(Handle<JSFunction> empty) { in CreateStrictModeFunctionMaps()
683 Handle<JSFunction> func) { in SetAccessors()
763 Handle<JSFunction> js_global_object_function; in CreateNewGlobals()
813 Handle<JSFunction> global_proxy_function; in CreateNewGlobals()
882 Handle<JSFunction> empty_function) { in InitializeGlobal()
906 InstallFunction(global, "Function", JS_FUNCTION_TYPE, JSFunction::kSize, in InitializeGlobal()
910 Handle<JSFunction> array_function = in InitializeGlobal()
954 Handle<JSFunction> number_fun = in InitializeGlobal()
962 Handle<JSFunction> boolean_fun = in InitializeGlobal()
970 Handle<JSFunction> string_fun = in InitializeGlobal()
995 Handle<JSFunction> symbol_fun = InstallFunction( in InitializeGlobal()
1003 Handle<JSFunction> date_fun = in InitializeGlobal()
1014 Handle<JSFunction> regexp_fun = in InitializeGlobal()
1103 Handle<JSFunction> cons = factory->NewFunction(name); in InitializeGlobal()
1104 JSFunction::SetInstancePrototype(cons, in InitializeGlobal()
1114 Handle<JSFunction> array_buffer_fun = in InitializeGlobal()
1126 Handle<JSFunction> fun; \ in InitializeGlobal()
1138 Handle<JSFunction> data_view_fun = in InitializeGlobal()
1157 Handle<JSFunction> object_function(native_context()->object_function()); in InitializeGlobal()
1198 Handle<JSFunction> function = factory->NewFunctionWithoutPrototype( in InitializeGlobal()
1225 JSFunction::SetInitialMap(function, map, in InitializeGlobal()
1249 Handle<JSFunction> poison = GetStrictPoisonFunction(); in InitializeGlobal()
1298 Handle<JSFunction> context_extension_fun = factory->NewFunction( in InitializeGlobal()
1314 Handle<JSFunction> delegate = factory->NewFunction( in InitializeGlobal()
1325 Handle<JSFunction> delegate = factory->NewFunction( in InitializeGlobal()
1340 Handle<JSFunction>* fun, in InstallTypedArray()
1343 Handle<JSFunction> result = InstallFunction( in InstallTypedArray()
1351 JSFunction::SetInitialMap(result, initial_map, in InstallTypedArray()
1451 Handle<JSFunction> fun = in CompileScriptCached()
1487 Handle<JSFunction> function = Handle<JSFunction>::cast(object); in ResolveBuiltinIdHolder()
1510 native_context()->set_math_##name##_fun(JSFunction::cast(*fun)); \
1515 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun); in InstallNativeFunctions()
1517 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun); in InstallNativeFunctions()
1518 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); in InstallNativeFunctions()
1519 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); in InstallNativeFunctions()
1520 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); in InstallNativeFunctions()
1521 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); in InstallNativeFunctions()
1522 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); in InstallNativeFunctions()
1523 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); in InstallNativeFunctions()
1525 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); in InstallNativeFunctions()
1526 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); in InstallNativeFunctions()
1527 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", in InstallNativeFunctions()
1529 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); in InstallNativeFunctions()
1531 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", in InstallNativeFunctions()
1534 INSTALL_NATIVE(JSFunction, "IsPromise", is_promise); in InstallNativeFunctions()
1535 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); in InstallNativeFunctions()
1536 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); in InstallNativeFunctions()
1537 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); in InstallNativeFunctions()
1538 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); in InstallNativeFunctions()
1539 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); in InstallNativeFunctions()
1540 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); in InstallNativeFunctions()
1542 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); in InstallNativeFunctions()
1543 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); in InstallNativeFunctions()
1544 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", in InstallNativeFunctions()
1546 INSTALL_NATIVE(JSFunction, "EndPerformSplice", in InstallNativeFunctions()
1548 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", in InstallNativeFunctions()
1550 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", in InstallNativeFunctions()
1552 INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange", in InstallNativeFunctions()
1557 INSTALL_NATIVE(JSFunction, "ArrayValues", array_values_iterator); in InstallNativeFunctions()
1583 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); in InstallExperimentalNativeFunctions()
1584 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); in InstallExperimentalNativeFunctions()
1585 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); in InstallExperimentalNativeFunctions()
1586 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); in InstallExperimentalNativeFunctions()
1593 Handle<JSFunction> Genesis::InstallInternalArray( in InstallInternalArray()
1605 Handle<JSFunction> array_function = InstallFunction( in InstallInternalArray()
1617 JSFunction::SetInitialMap(array_function, initial_map, prototype); in InstallInternalArray()
1645 Handle<JSFunction> builtins_fun = factory()->NewFunction( in InstallNatives()
1683 Handle<JSFunction> bridge = factory()->NewFunction(factory()->empty_string()); in InstallNatives()
1695 Handle<JSFunction> script_fun = InstallFunction( in InstallNatives()
1837 Handle<JSFunction> opaque_reference_fun = InstallFunction( in InstallNatives()
1852 Handle<JSFunction> array_function = in InstallNatives()
1862 Handle<JSFunction> set_iterator_function = InstallFunction( in InstallNatives()
1870 Handle<JSFunction> map_iterator_function = InstallFunction( in InstallNatives()
1882 Handle<JSFunction> generator_function_prototype = in InstallNatives()
1884 JS_FUNCTION_TYPE, JSFunction::kHeaderSize, in InstallNatives()
1887 JSFunction::kSize, generator_function_prototype, in InstallNatives()
1915 Handle<JSFunction> poison_function = GetGeneratorPoisonFunction(); in InstallNatives()
1930 Handle<JSFunction> object_function(native_context()->object_function()); in InstallNatives()
1957 Handle<JSFunction> string_function(native_context()->string_function()); in InstallNatives()
1966 Handle<JSFunction> function = in InstallNatives()
1967 Handle<JSFunction>::cast(Object::GetProperty( in InstallNatives()
1973 Handle<JSFunction> call = in InstallNatives()
1976 Handle<JSFunction> apply = in InstallNatives()
2009 Handle<JSFunction> array_constructor(native_context()->array_function()); in InstallNatives()
2026 JSFunction* array_function = native_context()->array_function(); in InstallNatives()
2127 Handle<JSFunction> function = Handle<JSFunction>::cast(function_object); in InstallBuiltinFunctionId()
2152 static FixedArray* CreateCache(int size, Handle<JSFunction> factory_function) { in CreateCache()
2178 FixedArray* cache = CreateCache((size), Handle<JSFunction>(func)); \ in InstallJSFunctionResultCaches()
2407 Handle<JSFunction> function = Handle<JSFunction>::cast(function_object); in InstallJSBuiltins()
2651 Handle<JSFunction> empty_function = CreateEmptyFunction(isolate); in Genesis()