GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: expose LookupAndCompile with parameters · nodejs/node@98a7ad2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_builtins.cc
    • node_builtins.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_builtins.cc‎

Copy file name to clipboardExpand all lines: src/node_builtins.cc
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,14 @@ MaybeLocal<Value> BuiltinLoader::CompileAndCall(Local<Context> context,
489489
return fn->Call(context, undefined, argc, argv);
490490
}
491491

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+
492500
bool BuiltinLoader::CompileAllBuiltinsAndCopyCodeCache(
493501
Local<Context> context,
494502
const std::vector<std::string>& eager_builtins,
Collapse file

‎src/node_builtins.h‎

Copy file name to clipboardExpand all lines: src/node_builtins.h
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ class NODE_EXTERN_PRIVATE BuiltinLoader {
9797
const char* id,
9898
Realm* optional_realm);
9999

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+
100106
v8::MaybeLocal<v8::Value> CompileAndCall(v8::Local<v8::Context> context,
101107
const char* id,
102108
int argc,

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.