File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,11 @@ parser.add_option('--enable-d8',
288
288
dest = 'enable_d8' ,
289
289
help = optparse .SUPPRESS_HELP ) # Unsupported, undocumented.
290
290
291
+ parser .add_option ('--enable-trace-maps' ,
292
+ action = 'store_true' ,
293
+ dest = 'trace_maps' ,
294
+ help = 'Enable the --trace-maps flag in V8 (use at your own risk)' )
295
+
291
296
parser .add_option ('--v8-options' ,
292
297
action = 'store' ,
293
298
dest = 'v8_options' ,
@@ -956,6 +961,7 @@ def configure_v8(o):
956
961
o ['variables' ]['v8_random_seed' ] = 0 # Use a random seed for hash tables.
957
962
o ['variables' ]['v8_promise_internal_field_count' ] = 1 # Add internal field to promises for async hooks.
958
963
o ['variables' ]['v8_use_snapshot' ] = b (options .with_snapshot )
964
+ o ['variables' ]['v8_trace_maps' ] = 1 if options .trace_maps else 0
959
965
o ['variables' ]['node_use_v8_platform' ] = b (not options .without_v8_platform )
960
966
o ['variables' ]['node_use_bundled_v8' ] = b (not options .without_bundled_v8 )
961
967
o ['variables' ]['force_dynamic_crt' ] = 1 if options .shared else 0
Original file line number Diff line number Diff line change 1
1
{
2
2
'variables' : {
3
3
'v8_use_snapshot%' : 'false' ,
4
+ 'v8_trace_maps%' : 0 ,
4
5
'node_use_dtrace%' : 'false' ,
5
6
'node_use_lttng%' : 'false' ,
6
7
'node_use_etw%' : 'false' ,
You can’t perform that action at this time.
0 commit comments