Lines Matching defs:args
573 void BuiltinLoader::GetCacheUsage(const FunctionCallbackInfo<Value>& args) {
574 Realm* realm = Realm::GetCurrent(args);
618 args.GetReturnValue().Set(result);
648 void BuiltinLoader::CompileFunction(const FunctionCallbackInfo<Value>& args) {
649 Realm* realm = Realm::GetCurrent(args);
650 CHECK(args[0]->IsString());
651 node::Utf8Value id_v(realm->isolate(), args[0].As<String>());
657 args.GetReturnValue().Set(fn);
661 void BuiltinLoader::HasCachedBuiltins(const FunctionCallbackInfo<Value>& args) {
662 auto instance = Environment::GetCurrent(args)->builtin_loader();
664 args.GetReturnValue().Set(v8::Boolean::New(
665 args.GetIsolate(), instance->code_cache_->has_code_cache));
668 void SetInternalLoaders(const FunctionCallbackInfo<Value>& args) {
669 Realm* realm = Realm::GetCurrent(args);
670 CHECK(args[0]->IsFunction());
671 CHECK(args[1]->IsFunction());
674 realm->set_internal_binding_loader(args[0].As<Function>());
675 realm->set_builtin_module_require(args[1].As<Function>());