| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -490,6 +490,14 @@ MaybeLocal<Value> BuiltinLoader::CompileAndCall(Local<Context> context, | |||
| 490 | 490 | return fn->Call(context, undefined, argc, argv); | |
| 491 | 491 | } | |
| 492 | 492 | ||
| 493 | + MaybeLocal<Function> BuiltinLoader::LookupAndCompile( | ||
| 494 | + Local<Context> context, | ||
| 495 | + const char* id, | ||
| 496 | + std::vector<Local<String>>* parameters, | ||
| 497 | + Realm* optional_realm) { | ||
| 498 | + return LookupAndCompileInternal(context, id, parameters, optional_realm); | ||
| 499 | + } | ||
| 500 | + | ||
| 493 | 501 | bool BuiltinLoader::CompileAllBuiltinsAndCopyCodeCache( | |
| 494 | 502 | Local<Context> context, | |
| 495 | 503 | 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, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments