Lines Matching defs:function
49 Handle<JSFunction> function = args.at<JSFunction>(0);
51 CHECK_IMPLIES(IsAsyncFunction(function->shared().kind()),
52 IsAsyncGeneratorFunction(function->shared().kind()));
53 CHECK(IsResumableFunction(function->shared().kind()));
55 // Underlying function needs to have bytecode available.
56 DCHECK(function->shared().HasBytecodeArray());
58 function->shared().internal_formal_parameter_count_without_receiver() +
59 function->shared().GetBytecodeArray(isolate).register_count();
64 isolate->factory()->NewJSGeneratorObject(function);
65 generator->set_function(*function);
88 return generator->function();
142 SharedFunctionInfo shared = generator.function().shared();