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>2022-05-05 14:37:01 +0300
committerRafaelGSS <rafael.nunu@hotmail.com>2022-05-10 15:13:18 +0300
commita20310d171aea18accf93ade3d60234944ba6c54 (patch)
tree8ad6f6cdf65bab60d99ad3cf661e79e113d63b2a /src/node_main_instance.h
parent2df1624f804ca5113655575a0546f41a58dc8e02 (diff)
bootstrap: use a context snapshotted with primordials in workers
PR-URL: https://github.com/nodejs/node/pull/42867 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'src/node_main_instance.h')
-rw-r--r--src/node_main_instance.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_main_instance.h b/src/node_main_instance.h
index fc44bc9df6f..0161f6df18a 100644
--- a/src/node_main_instance.h
+++ b/src/node_main_instance.h
@@ -65,7 +65,6 @@ class NodeMainInstance {
DeleteFnPtr<Environment, FreeEnvironment> CreateMainEnvironment(
int* exit_code);
- static const size_t kNodeContextIndex = 0;
NodeMainInstance(const NodeMainInstance&) = delete;
NodeMainInstance& operator=(const NodeMainInstance&) = delete;
NodeMainInstance(NodeMainInstance&&) = delete;