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>2021-01-28 18:37:21 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2021-02-16 17:12:48 +0300
commit1a9bcdf1d9445d603befd4476bc2eb9d513cdb27 (patch)
treecdfa4fed39eb7a3a725a2b70f932c12ebf78dfd2 /node.gyp
parent54d36b00afa66102d55c6353a2f6c00459b97242 (diff)
src: refactor v8 binding
1. Put the v8 binding data class into a header so we can reuse the class definition during deserialization. 2. Put the v8 binding code into node::v8_utils namespace for clarity. 3. Move the binding data property initialization into its constructor so that we can reuse it during deserialization 4. Reorder the v8 binding initialization so that we don't unnecessarily initialize the properties in a loop PR-URL: https://github.com/nodejs/node/pull/37112 Refs: https://github.com/nodejs/node/pull/36943 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 03868ab2ef1..5d2e63db5d1 100644
--- a/node.gyp
+++ b/node.gyp
@@ -746,6 +746,7 @@
'src/node_union_bytes.h',
'src/node_url.h',
'src/node_version.h',
+ 'src/node_v8.h',
'src/node_v8_platform-inl.h',
'src/node_wasi.h',
'src/node_watchdog.h',