diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2020-04-21 02:32:31 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2020-07-18 06:23:15 +0300 |
commit | 0b8ae5f2cd45a5fcbe46dc7fa7cdae93386e23f0 (patch) | |
tree | 21e15255c9f75ab5a872af17bc9897336e94499a /src/node_native_module_env.h | |
parent | 7ecb285842361de721a9d7c7d2a0535170b132dd (diff) |
src: snapshot loaders
This runs `lib/internal/bootstrap/loaders.js` before creating
the builtin snapshot and deserialize the loaders from the
snapshot in deserialization mode.
PR-URL: https://github.com/nodejs/node/pull/32984
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'src/node_native_module_env.h')
-rw-r--r-- | src/node_native_module_env.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_native_module_env.h b/src/node_native_module_env.h index bc36be75109..0a53771ff5d 100644 --- a/src/node_native_module_env.h +++ b/src/node_native_module_env.h @@ -7,6 +7,7 @@ namespace node { class Environment; +class ExternalReferenceRegistry; namespace native_module { @@ -14,6 +15,7 @@ extern const bool has_code_cache; class NativeModuleEnv { public: + static void RegisterExternalReferences(ExternalReferenceRegistry* registry); static void Initialize(v8::Local<v8::Object> target, v8::Local<v8::Value> unused, v8::Local<v8::Context> context, |