Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-04-21 07:47:32 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2020-07-18 06:15:57 +0300
commit1faf6f459f220bb67866f12b30626ef7856876ee (patch)
treed1308396c07e8289f8d987178c294141f4687889 /src/node_external_reference.h
parentf04538761f5bb3c334d3c8d16d093ac0916ff3bc (diff)
src: snapshot Environment upon instantiation
This includes the initial Environment (without running bootstrap scripts) into the builtin snapshot 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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/node_external_reference.h b/src/node_external_reference.h
index 544236e3af6..29dd4cb91ed 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(V)
+#define EXTERNAL_REFERENCE_BINDING_LIST_BASE(V) V(process_object)
+
+#define EXTERNAL_REFERENCE_BINDING_LIST(V) \
+ EXTERNAL_REFERENCE_BINDING_LIST_BASE(V)
} // namespace node