Lines Matching refs:JSFunction
172 Handle<JSFunction> CreateEmptyFunction(Isolate* isolate);
174 Handle<JSFunction> GetThrowTypeErrorFunction();
176 void CreateStrictModeFunctionMaps(Handle<JSFunction> empty);
202 Handle<JSFunction> empty_function);
208 Handle<JSFunction> InstallInternalArray(Handle<JSBuiltinsObject> builtins,
213 Handle<JSFunction> InstallTypedArray(const char* name,
272 Handle<JSFunction> empty_function);
300 Handle<JSFunction> throw_type_error_function;
345 static Handle<JSFunction> InstallFunction(Handle<JSObject> target,
357 Handle<JSFunction> function = prototype.is_null() ?
429 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize);
436 Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) {
462 Handle<JSFunction> object_fun =
488 Handle<JSFunction> empty_function =
569 Handle<JSFunction> Genesis::GetThrowTypeErrorFunction() {
591 Handle<JSFunction> empty_function) {
592 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize);
600 void Genesis::CreateStrictModeFunctionMaps(Handle<JSFunction> empty) {
629 Handle<JSFunction> func) {
697 Handle<JSFunction> js_global_function;
747 Handle<JSFunction> global_proxy_function;
820 Handle<JSFunction> empty_function) {
847 InstallFunction(global, "Function", JS_FUNCTION_TYPE, JSFunction::kSize,
851 Handle<JSFunction> array_function =
896 Handle<JSFunction> number_fun =
904 Handle<JSFunction> boolean_fun =
912 Handle<JSFunction> string_fun =
940 Handle<JSFunction> date_fun =
951 Handle<JSFunction> regexp_fun =
1041 Handle<JSFunction> cons = factory->NewFunction(name,
1043 JSFunction::SetInstancePrototype(cons,
1055 Handle<JSFunction> array_buffer_fun =
1065 Handle<JSFunction> int8_fun = InstallTypedArray("Int8Array",
1068 Handle<JSFunction> uint8_fun = InstallTypedArray("Uint8Array",
1071 Handle<JSFunction> int16_fun = InstallTypedArray("Int16Array",
1074 Handle<JSFunction> uint16_fun = InstallTypedArray("Uint16Array",
1077 Handle<JSFunction> int32_fun = InstallTypedArray("Int32Array",
1080 Handle<JSFunction> uint32_fun = InstallTypedArray("Uint32Array",
1083 Handle<JSFunction> float_fun = InstallTypedArray("Float32Array",
1086 Handle<JSFunction> double_fun = InstallTypedArray("Float64Array",
1089 Handle<JSFunction> uint8c_fun = InstallTypedArray("Uint8ClampedArray",
1093 Handle<JSFunction> data_view_fun =
1114 Handle<JSFunction> function =
1189 Handle<JSFunction> throw_function =
1261 Handle<JSFunction> context_extension_fun =
1280 Handle<JSFunction> delegate =
1292 Handle<JSFunction> delegate =
1308 Handle<JSFunction> Genesis::InstallTypedArray(
1311 Handle<JSFunction> result = InstallFunction(global, name, JS_TYPED_ARRAY_TYPE,
1331 Handle<JSFunction> symbol_fun =
1366 Handle<JSFunction> generator_function_prototype =
1368 JS_FUNCTION_TYPE, JSFunction::kHeaderSize,
1372 JS_FUNCTION_TYPE, JSFunction::kSize,
1523 Handle<JSFunction> fun =
1551 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun);
1552 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun);
1553 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun);
1554 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun);
1555 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun);
1556 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun);
1557 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun);
1558 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun);
1559 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun);
1560 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun);
1561 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance",
1563 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun);
1565 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor",
1571 INSTALL_NATIVE(JSFunction, "RunMicrotasks", run_microtasks);
1573 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1574 JSFunction, "DerivedGetTrap", derived_get_trap);
1575 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1576 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1579 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change);
1580 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice);
1581 INSTALL_NATIVE(JSFunction, "BeginPerformSplice",
1583 INSTALL_NATIVE(JSFunction, "EndPerformSplice",
1591 Handle<JSFunction> Genesis::InstallInternalArray(
1601 Handle<JSFunction> array_function =
1652 Handle<JSFunction> builtins_fun =
1689 Handle<JSFunction> bridge =
1703 Handle<JSFunction> script_fun =
1858 Handle<JSFunction> opaque_reference_fun =
1875 Handle<JSFunction> array_function =
1904 Handle<JSFunction> string_function(native_context()->string_function());
1912 Handle<JSFunction> function =
1913 Handle<JSFunction>::cast(
1919 Handle<JSFunction> call =
1924 Handle<JSFunction> apply =
1952 Handle<JSFunction> array_constructor(native_context()->array_function());
1972 JSFunction* array_function = native_context()->array_function();
2059 Handle<JSFunction> function = Handle<JSFunction>::cast(
2071 Handle<JSFunction> function(JSFunction::cast(function_object));
2096 static FixedArray* CreateCache(int size, Handle<JSFunction> factory_function) {
2122 FixedArray* cache = CreateCache((size), Handle<JSFunction>(func)); \
2349 Handle<JSFunction> function
2350 = Handle<JSFunction>(JSFunction::cast(function_object));
2352 if (!JSFunction::CompileLazy(function, CLEAR_EXCEPTION)) {
2584 Handle<JSFunction> empty_function = CreateEmptyFunction(isolate);