mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
v8,tools: expose necessary V8 defines
PR-URL: https://github.com/nodejs/node/pull/50820 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
41e225cac4
commit
0bb5d88871
5 changed files with 177 additions and 50 deletions
|
@ -1505,6 +1505,7 @@ def configure_v8(o):
|
|||
o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
|
||||
o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1
|
||||
o['variables']['v8_enable_extensible_ro_snapshot'] = 0
|
||||
o['variables']['v8_enable_v8_checks'] = 1 if options.debug else 0
|
||||
o['variables']['v8_trace_maps'] = 1 if options.trace_maps else 0
|
||||
o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform)
|
||||
o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue