Skip to content

Commit c041989

Browse files
committed
build: add --v8-disable-object-print flag
--v8-enable-object-print flag is set by default true. so, no way of disable this flag. remove --v8-enable-object-print flag. add a --v8-disable-object-print flag instead that defaults to false. Fixes: #45433
1 parent 3770d3a commit c041989

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

configure.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -772,11 +772,11 @@
772772
'memory footprint, but also implies no just-in-time compilation ' +
773773
'support, thus much slower execution)')
774774

775-
parser.add_argument('--v8-enable-object-print',
775+
parser.add_argument('--v8-disable-object-print',
776776
action='store_true',
777-
dest='v8_enable_object_print',
778-
default=True,
779-
help='compile V8 with auxiliar functions for native debuggers')
777+
dest='v8_disable_object_print',
778+
default=False,
779+
help='disable the V8 auxiliar functions for native debuggers')
780780

781781
parser.add_argument('--v8-enable-hugepage',
782782
action='store_true',
@@ -1436,7 +1436,7 @@ def configure_v8(o):
14361436
o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs.
14371437
o['variables']['v8_optimized_debug'] = 0 if options.v8_non_optimized_debug else 1
14381438
o['variables']['dcheck_always_on'] = 1 if options.v8_with_dchecks else 0
1439-
o['variables']['v8_enable_object_print'] = 1 if options.v8_enable_object_print else 0
1439+
o['variables']['v8_enable_object_print'] = 0 if options.v8_disable_object_print else 1
14401440
o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables.
14411441
o['variables']['v8_promise_internal_field_count'] = 1 # Add internal field to promises for async hooks.
14421442
o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1

0 commit comments

Comments
 (0)