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_external_reference.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_external_reference.h')
-rw-r--r-- | src/node_external_reference.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/node_external_reference.h b/src/node_external_reference.h index 29dd4cb91ed..8c97eca2264 100644 --- a/src/node_external_reference.h +++ b/src/node_external_reference.h @@ -46,7 +46,10 @@ class ExternalReferenceRegistry { std::vector<intptr_t> external_references_; }; -#define EXTERNAL_REFERENCE_BINDING_LIST_BASE(V) V(process_object) +#define EXTERNAL_REFERENCE_BINDING_LIST_BASE(V) \ + V(binding) \ + V(native_module) \ + V(process_object) #define EXTERNAL_REFERENCE_BINDING_LIST(V) \ EXTERNAL_REFERENCE_BINDING_LIST_BASE(V) |