@@ -10,8 +10,21 @@ however those files were cherry-picked from main branch and do not
1010really in 20/21. We have to wait until 22 is released to be able to
1111build with upstream GN files.
1212
13+ diff --git a/configure.py b/configure.py
14+ index 4560bac7b8e3c707ecea5a425f642efb9de9ed36..e9c2a4391f4058a21a259cacaac4fde5d199288e 100755
15+ --- a/configure.py
16+ +++ b/configure.py
17+ @@ -1722,7 +1722,7 @@ def configure_v8(o, configs):
18+ # Until we manage to get rid of all those, v8_enable_sandbox cannot be used.
19+ # Note that enabling pointer compression without enabling sandbox is unsupported by V8,
20+ # so this can be broken at any time.
21+ - o['variables']['v8_enable_sandbox'] = 0
22+ + o['variables']['v8_enable_sandbox'] = 1 if options.enable_pointer_compression else 0
23+ o['variables']['v8_enable_pointer_compression_shared_cage'] = 1 if options.enable_pointer_compression else 0
24+ o['variables']['v8_enable_external_code_space'] = 1 if options.enable_pointer_compression else 0
25+ o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
1326diff --git a/node.gni b/node.gni
14- index a2123cc6c6d21c53fafc8934203b3720393e7b11..245a43920c7baf000ba63192a84a4c3fd219be7d 100644
27+ index 35ccd0487f20cece033d58827ecb7ed016908ee4..b4450e3dd17994d1eaf59eb5cff5912545e89793 100644
1528--- a/node.gni
1629+++ b/node.gni
1730@@ -5,10 +5,10 @@
@@ -55,10 +68,10 @@ index a2123cc6c6d21c53fafc8934203b3720393e7b11..245a43920c7baf000ba63192a84a4c3f
5568
5669 assert(!node_enable_inspector || node_use_openssl,
5770diff --git a/src/node_builtins.cc b/src/node_builtins.cc
58- index defb657a62a0316224a02b68505ac1142fd89d03..d637faac88875bfa110e2b8d1f53962061d98279 100644
71+ index 092341dbfbabe15b15ed43057d399f754505f6fd..f14b45850e42585f5686b7201e2b8281ed8c24e1 100644
5972--- a/src/node_builtins.cc
6073+++ b/src/node_builtins.cc
61- @@ -785 ,6 +785 ,7 @@ void BuiltinLoader::RegisterExternalReferences(
74+ @@ -788 ,6 +788 ,7 @@ void BuiltinLoader::RegisterExternalReferences(
6275 registry->Register(GetNatives);
6376
6477 RegisterExternalReferencesForInternalizedBuiltinCode(registry);
@@ -80,18 +93,18 @@ index f9426599f2d5dc6ad061407f0c4eb2c9203a4433..302030f610965f07dd6998d282275c1b
8093 // Handles compilation and caching of built-in JavaScript modules and
8194 // bootstrap scripts, whose source are bundled into the binary as static data.
8295diff --git a/tools/install.py b/tools/install.py
83- index 17515720ba9c85d533465365188021074a8d30f4..92f83a83be67aafc9ead6923b868dbb0de39db34 100755
96+ index 8797b59e59c85a8877b977fa3281e50165e6f6b2..0af01e075616195f38fb242626dcab770ec1eb57 100755
8497--- a/tools/install.py
8598+++ b/tools/install.py
86- @@ -212 ,6 +212 ,7 @@ def headers(options, action):
99+ @@ -222 ,6 +222 ,7 @@ def headers(options, action):
87100 'include/cppgc/internal/caged-heap-local-data.h',
88101 'include/cppgc/internal/caged-heap.h',
89102 'include/cppgc/internal/compiler-specific.h',
90103+ 'include/cppgc/internal/conditional-stack-allocated.h',
91104 'include/cppgc/internal/finalizer-trait.h',
92105 'include/cppgc/internal/gc-info.h',
93106 'include/cppgc/internal/logging.h',
94- @@ -291 ,6 +292 ,7 @@ def headers(options, action):
107+ @@ -301 ,6 +302 ,7 @@ def headers(options, action):
95108 'include/v8-promise.h',
96109 'include/v8-proxy.h',
97110 'include/v8-regexp.h',
0 commit comments