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
committerJoyee Cheung <joyeec9h3@gmail.com>2021-02-08 09:00:34 +0300
commit7e6bb66ef00dbb68dfc8060fbf693b6d05c52fbf (patch)
tree156cd3ea0cf32eed7f3b5a8eca46a2a76092982a /node.gyp
parent1b7531cdeb46db2c315015f9138d95585b1064a9 (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 e57a811a249..dbcbf4d8ca2 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',