Lines Matching refs:JSFunction

152   Handle<JSFunction> CreateEmptyFunction(Isolate* isolate);
154 Handle<JSFunction> GetRestrictedFunctionPropertiesThrower();
155 Handle<JSFunction> GetStrictArgumentsPoisonFunction();
156 Handle<JSFunction> GetThrowTypeErrorIntrinsic(Builtins::Name builtin_name);
158 void CreateStrictModeFunctionMaps(Handle<JSFunction> empty);
159 void CreateStrongModeFunctionMaps(Handle<JSFunction> empty);
189 Handle<JSFunction> empty_function,
204 Handle<JSFunction> InstallArrayBuffer(Handle<JSObject> target,
206 Handle<JSFunction> InstallInternalArray(Handle<JSObject> target,
212 Handle<JSFunction>* fun);
285 Handle<JSFunction> empty_function);
286 Handle<Map> CreateStrongFunctionMap(Handle<JSFunction> empty_function,
308 Handle<JSFunction> strict_poison_function_;
309 Handle<JSFunction> restricted_function_properties_thrower_;
365 Handle<JSFunction> function, Handle<String> function_name, in InstallFunction()
376 Handle<JSFunction> function, Handle<Name> name, in InstallFunction()
383 static Handle<JSFunction> CreateFunction(Isolate* isolate, Handle<String> name, in CreateFunction()
402 Handle<JSFunction> InstallFunction(Handle<JSObject> target, Handle<Name> name, in InstallFunction()
409 Handle<JSFunction> function = in InstallFunction()
417 Handle<JSFunction> InstallFunction(Handle<JSObject> target, const char* name, in InstallFunction()
484 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); in CreateSloppyFunctionMap()
492 Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) { in CreateEmptyFunction()
523 Handle<JSFunction> object_fun = factory->NewFunction(object_name); in CreateEmptyFunction()
529 JSFunction::SetInitialMap(object_fun, object_function_map, in CreateEmptyFunction()
560 Handle<JSFunction> empty_function = in CreateEmptyFunction()
664 Handle<JSFunction> Genesis::GetThrowTypeErrorIntrinsic( in GetThrowTypeErrorIntrinsic()
669 Handle<JSFunction> function = in GetThrowTypeErrorIntrinsic()
696 Handle<JSFunction> Genesis::GetRestrictedFunctionPropertiesThrower() { in GetRestrictedFunctionPropertiesThrower()
705 Handle<JSFunction> Genesis::GetStrictArgumentsPoisonFunction() { in GetStrictArgumentsPoisonFunction()
715 FunctionMode function_mode, Handle<JSFunction> empty_function) { in CreateStrictFunctionMap()
716 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); in CreateStrictFunctionMap()
726 Handle<JSFunction> empty_function, bool is_constructor) { in CreateStrongFunctionMap()
727 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); in CreateStrongFunctionMap()
738 void Genesis::CreateStrictModeFunctionMaps(Handle<JSFunction> empty) { in CreateStrictModeFunctionMaps()
759 void Genesis::CreateStrongModeFunctionMaps(Handle<JSFunction> empty) { in CreateStrongModeFunctionMaps()
812 Handle<JSFunction> object_function(native_context()->object_function()); in CreateIteratorMaps()
833 Handle<JSFunction> thrower = GetRestrictedFunctionPropertiesThrower(); in AddRestrictedFunctionProperties()
884 Handle<JSFunction> closure(native_context()->closure()); in InstallGlobalThisBinding()
915 Handle<JSFunction> js_global_object_function; in CreateNewGlobals()
961 Handle<JSFunction> global_proxy_function; in CreateNewGlobals()
1014 static Handle<JSFunction> SimpleCreateFunction(Isolate* isolate, in SimpleCreateFunction()
1018 Handle<JSFunction> fun = in SimpleCreateFunction()
1031 static Handle<JSFunction> SimpleInstallFunction(Handle<JSObject> base, in SimpleInstallFunction()
1035 Handle<JSFunction> fun = in SimpleInstallFunction()
1042 static Handle<JSFunction> SimpleInstallFunction(Handle<JSObject> base, in SimpleInstallFunction()
1053 Handle<JSFunction> function, in InstallWithIntrinsicDefaultProto()
1065 Handle<JSFunction> empty_function, in InitializeGlobal()
1088 Handle<JSFunction> object_function = isolate->object_function(); in InitializeGlobal()
1095 Handle<JSFunction> object_freeze = SimpleInstallFunction( in InitializeGlobal()
1098 Handle<JSFunction> object_is_extensible = in InitializeGlobal()
1102 Handle<JSFunction> object_is_frozen = SimpleInstallFunction( in InitializeGlobal()
1105 Handle<JSFunction> object_is_sealed = SimpleInstallFunction( in InitializeGlobal()
1108 Handle<JSFunction> object_keys = SimpleInstallFunction( in InitializeGlobal()
1120 Handle<JSFunction> prototype = empty_function; in InitializeGlobal()
1121 Handle<JSFunction> function_fun = in InitializeGlobal()
1122 InstallFunction(global, "Function", JS_FUNCTION_TYPE, JSFunction::kSize, in InitializeGlobal()
1153 Handle<JSFunction> array_function = in InitializeGlobal()
1197 Handle<JSFunction> is_arraylike = SimpleInstallFunction( in InitializeGlobal()
1204 Handle<JSFunction> number_fun = InstallFunction( in InitializeGlobal()
1216 Handle<JSFunction> boolean_fun = in InitializeGlobal()
1225 Handle<JSFunction> string_fun = InstallFunction( in InitializeGlobal()
1253 Handle<JSFunction> symbol_fun = InstallFunction( in InitializeGlobal()
1267 Handle<JSFunction> date_fun = in InitializeGlobal()
1381 Handle<JSFunction> to_primitive = InstallFunction( in InitializeGlobal()
1396 Handle<JSFunction> regexp_fun = in InitializeGlobal()
1428 Handle<JSFunction> error_fun = InstallFunction( in InitializeGlobal()
1436 Handle<JSFunction> eval_error_fun = InstallFunction( in InitializeGlobal()
1444 Handle<JSFunction> range_error_fun = InstallFunction( in InitializeGlobal()
1452 Handle<JSFunction> reference_error_fun = InstallFunction( in InitializeGlobal()
1460 Handle<JSFunction> syntax_error_fun = InstallFunction( in InitializeGlobal()
1468 Handle<JSFunction> type_error_fun = InstallFunction( in InitializeGlobal()
1476 Handle<JSFunction> uri_error_fun = InstallFunction( in InitializeGlobal()
1491 Handle<JSFunction> cons = factory->NewFunction(name); in InitializeGlobal()
1492 JSFunction::SetInstancePrototype(cons, in InitializeGlobal()
1502 Handle<JSFunction> cons = factory->NewFunction(name); in InitializeGlobal()
1503 JSFunction::SetInstancePrototype( in InitializeGlobal()
1513 Handle<JSFunction> array_buffer_fun = in InitializeGlobal()
1522 Handle<JSFunction> fun; \ in InitializeGlobal()
1530 Handle<JSFunction> data_view_fun = in InitializeGlobal()
1543 Handle<JSFunction> js_map_fun = InstallFunction( in InitializeGlobal()
1551 Handle<JSFunction> js_set_fun = InstallFunction( in InitializeGlobal()
1581 Handle<JSFunction> js_weak_map_fun = InstallFunction( in InitializeGlobal()
1589 Handle<JSFunction> js_weak_set_fun = InstallFunction( in InitializeGlobal()
1631 Handle<JSFunction> function = factory->NewFunctionWithoutPrototype( in InitializeGlobal()
1656 JSFunction::SetInitialMap(function, map, in InitializeGlobal()
1686 Handle<JSFunction> poison = GetStrictArgumentsPoisonFunction(); in InitializeGlobal()
1736 Handle<JSFunction> context_extension_fun = factory->NewFunction( in InitializeGlobal()
1750 Handle<JSFunction> delegate = factory->NewFunction( in InitializeGlobal()
1759 Handle<JSFunction> delegate = factory->NewFunction( in InitializeGlobal()
1768 Handle<JSFunction>* fun) { in InstallTypedArray()
1770 Handle<JSFunction> result = InstallFunction( in InstallTypedArray()
1778 JSFunction::SetInitialMap(result, initial_map, in InstallTypedArray()
1879 Handle<JSFunction> fun = in CompileNative()
1890 return !Execution::Call(isolate, Handle<JSFunction>::cast(wrapper), receiver, in CompileNative()
1939 Handle<JSFunction> fun = in CompileExtension()
1970 Handle<JSFunction> function = Handle<JSFunction>::cast(object); in ResolveBuiltinIdHolder()
2030 Handle<JSFunction> apply = InstallFunction( in ExportFromRuntime()
2039 Handle<JSFunction> construct = InstallFunction( in ExportFromRuntime()
2048 Handle<JSFunction> to_string = InstallFunction( in ExportFromRuntime()
2077 Handle<JSFunction> generator_function_function = InstallFunction( in ExportFromRuntime()
2078 container, "GeneratorFunction", JS_FUNCTION_TYPE, JSFunction::kSize, in ExportFromRuntime()
2103 Handle<JSFunction> set_iterator_function = InstallFunction( in ExportFromRuntime()
2113 Handle<JSFunction> map_iterator_function = InstallFunction( in ExportFromRuntime()
2121 Handle<JSFunction> script_fun = InstallFunction( in ExportFromRuntime()
2357 Handle<JSFunction> define_property = in InitializeGlobal_harmony_reflect()
2362 Handle<JSFunction> delete_property = in InitializeGlobal_harmony_reflect()
2404 Handle<JSFunction> shared_array_buffer_fun = in InitializeGlobal_harmony_sharedarraybuffer()
2419 Handle<JSFunction> cons = factory->NewFunction(name); in InitializeGlobal_harmony_simd()
2420 JSFunction::SetInstancePrototype( in InitializeGlobal_harmony_simd()
2431 Handle<JSFunction> type##_function = InstallFunction( \ in InitializeGlobal_harmony_simd()
2481 Handle<JSFunction> proxy_function = factory->NewFunction( in InitializeGlobal_harmony_proxies()
2484 JSFunction::SetInitialMap(proxy_function, in InitializeGlobal_harmony_proxies()
2498 Handle<JSFunction> Genesis::InstallArrayBuffer(Handle<JSObject> target, in InstallArrayBuffer()
2508 Handle<JSFunction> array_buffer_fun = in InstallArrayBuffer()
2535 Handle<JSFunction> Genesis::InstallInternalArray(Handle<JSObject> target, in InstallInternalArray()
2546 Handle<JSFunction> array_function = in InstallInternalArray()
2558 JSFunction::SetInitialMap(array_function, initial_map, prototype); in InstallInternalArray()
2609 Handle<JSFunction> opaque_reference_fun = factory()->NewFunction( in InstallNatives()
2627 Handle<JSFunction> array_function = in InstallNatives()
2647 Handle<JSFunction> object_function(native_context()->object_function()); in InstallNatives()
2655 Handle<JSFunction> string_function(native_context()->string_function()); in InstallNatives()
2663 Handle<JSFunction> eval = SimpleInstallFunction( in InstallNatives()
2671 Handle<JSFunction> array_constructor(native_context()->array_function()); in InstallNatives()
2673 Handle<JSFunction> concat = in InstallNatives()
2688 Handle<JSFunction> array_constructor( in InstallNatives()
2691 Handle<JSFunction> concat = in InstallNatives()
2707 Handle<JSFunction> function = Handle<JSFunction>::cast( in InstallNatives()
2710 JSFunction::EnsureHasInitialMap(function); in InstallNatives()
2726 Handle<JSFunction> array_constructor(native_context()->array_function()); in InstallNatives()
2743 JSFunction* array_function = native_context()->array_function(); in InstallNatives()
2917 Handle<JSFunction> function = Handle<JSFunction>::cast(function_object); in InstallBuiltinFunctionId()
3419 Handle<JSFunction> object_fun = isolate->object_function(); in Genesis()
3436 Handle<JSFunction> empty_function = CreateEmptyFunction(isolate); in Genesis()