Lines Matching defs:function
84 Handle<JSFunction> function;
87 isolate, function,
95 Execution::Call(isolate, function, target_global_proxy, 0, nullptr),
97 function = Handle<JSFunction>::cast(result);
98 function->shared().set_name_should_print_as_anonymous(true);
101 // If new.target is equal to target then the function created
105 // function has wrong initial map. To fix that we create a new
106 // function object with correct initial map.
117 Handle<SharedFunctionInfo> shared_info(function->shared(), isolate);
120 Handle<Context> context(function->context(), isolate);
121 function = Factory::JSFunctionBuilder{isolate, shared_info, context}
126 return function;
136 isolate, result, CreateDynamicFunction(isolate, args, "function"));
144 CreateDynamicFunction(isolate, args, "function*"));
152 CreateDynamicFunction(isolate, args, "async function"));
156 // determined after the function is resumed.
171 CreateDynamicFunction(isolate, args, "async function*"));
175 // determined after the function is resumed.
195 // Allocate the bound function with the given {this_arg} and {args}.
205 Handle<JSBoundFunction> function;
207 isolate, function,
211 isolate, function, target, isolate->factory()->bound__string(),
217 return *function;