+14
-0
lines changedFilter options
+14
-0
lines changed Original file line number Diff line number Diff line change
@@ -489,6 +489,14 @@ MaybeLocal<Value> BuiltinLoader::CompileAndCall(Local<Context> context,
489
489
return fn->Call(context, undefined, argc, argv);
490
490
}
491
491
492
+
MaybeLocal<Function> BuiltinLoader::LookupAndCompile(
493
+
Local<Context> context,
494
+
const char* id,
495
+
std::vector<Local<String>>* parameters,
496
+
Realm* optional_realm) {
497
+
return LookupAndCompileInternal(context, id, parameters, optional_realm);
498
+
}
499
+
492
500
bool BuiltinLoader::CompileAllBuiltinsAndCopyCodeCache(
493
501
Local<Context> context,
494
502
const std::vector<std::string>& eager_builtins,
Original file line number Diff line number Diff line change
@@ -97,6 +97,12 @@ class NODE_EXTERN_PRIVATE BuiltinLoader {
97
97
const char* id,
98
98
Realm* optional_realm);
99
99
100
+
v8::MaybeLocal<v8::Function> LookupAndCompile(
101
+
v8::Local<v8::Context> context,
102
+
const char* id,
103
+
std::vector<v8::Local<v8::String>>* parameters,
104
+
Realm* optional_realm);
105
+
100
106
v8::MaybeLocal<v8::Value> CompileAndCall(v8::Local<v8::Context> context,
101
107
const char* id,
102
108
int argc,
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4