Lines Matching refs:empty_function
189 Handle<JSFunction> empty_function,
285 Handle<JSFunction> empty_function);
286 Handle<Map> CreateStrongFunctionMap(Handle<JSFunction> empty_function,
560 Handle<JSFunction> empty_function = in CreateEmptyFunction() local
570 empty_function->set_map(*empty_function_map); in CreateEmptyFunction()
576 empty_function->shared()->set_start_position(0); in CreateEmptyFunction()
577 empty_function->shared()->set_end_position(source->length()); in CreateEmptyFunction()
578 empty_function->shared()->DontAdaptArguments(); in CreateEmptyFunction()
579 SharedFunctionInfo::SetScript(handle(empty_function->shared()), script); in CreateEmptyFunction()
586 Map::SetPrototype(sloppy_function_map, empty_function); in CreateEmptyFunction()
587 Map::SetPrototype(sloppy_function_without_prototype_map, empty_function); in CreateEmptyFunction()
588 Map::SetPrototype(sloppy_function_map_writable_prototype_, empty_function); in CreateEmptyFunction()
593 return empty_function; in CreateEmptyFunction()
715 FunctionMode function_mode, Handle<JSFunction> empty_function) { in CreateStrictFunctionMap() argument
720 Map::SetPrototype(map, empty_function); in CreateStrictFunctionMap()
726 Handle<JSFunction> empty_function, bool is_constructor) { in CreateStrongFunctionMap() argument
730 Map::SetPrototype(map, empty_function); in CreateStrongFunctionMap()
1065 Handle<JSFunction> empty_function, in InitializeGlobal() argument
1069 native_context()->set_closure(*empty_function); in InitializeGlobal()
1120 Handle<JSFunction> prototype = empty_function; in InitializeGlobal()
1600 Map::SetPrototype(map, empty_function); in InitializeGlobal()
3436 Handle<JSFunction> empty_function = CreateEmptyFunction(isolate); in Genesis() local
3437 CreateStrictModeFunctionMaps(empty_function); in Genesis()
3438 CreateStrongModeFunctionMaps(empty_function); in Genesis()
3443 InitializeGlobal(global_object, empty_function, context_type); in Genesis()