@@ -77,9 +77,6 @@ declare_args() {
7777 # Sets the number of internal fields on array buffer view objects.
7878 v8_array_buffer_view_internal_field_count = 0
7979
80- # Sets -DENABLE_GDB_JIT_INTERFACE.
81- v8_enable_gdbjit = " "
82-
8380 # Sets -DENABLE_VTUNE_JIT_INTERFACE.
8481 v8_enable_vtunejit = false
8582
@@ -280,9 +277,11 @@ declare_args() {
280277 # Controls the threshold for on-heap/off-heap Typed Arrays.
281278 v8_typed_array_max_size_in_heap = 64
282279
283- v8_enable_gdbjit = ((v8_current_cpu == " x86" || v8_current_cpu == " x64" ) &&
284- (is_linux || is_chromeos || is_mac )) ||
285- (v8_current_cpu == " ppc64" && (is_linux || is_chromeos ))
280+ # Sets -DENABLE_GDB_JIT_INTERFACE.
281+ v8_enable_gdbjit =
282+ is_debug && (((v8_current_cpu == " x86" || v8_current_cpu == " x64" ) &&
283+ (is_linux || is_chromeos || is_mac )) ||
284+ (v8_current_cpu == " ppc64" && (is_linux || is_chromeos )))
286285
287286 # Check that each header can be included in isolation (requires also
288287 # setting the "check_v8_header_includes" gclient variable to run a
@@ -494,14 +493,15 @@ declare_args() {
494493
495494# Derived defaults.
496495if (cppgc_enable_verify_heap == " " ) {
497- cppgc_enable_verify_heap = v8_enable_debugging_features || v8 _dcheck_always_on
496+ cppgc_enable_verify_heap =
497+ v8 _enable_verification_features || v8 _dcheck_always_on
498498}
499499if (v8_enable_verify_heap == " " ) {
500- v8_enable_verify_heap = v8_enable_debugging_features
500+ v8_enable_verify_heap = v8_enable_verification_features
501501}
502502if (v8_enable_verify_write_barriers == " " ) {
503503 v8_enable_verify_write_barriers =
504- (v8_enable_debugging_features || v8_dcheck_always_on ) &&
504+ (v8_enable_verification_features || v8_dcheck_always_on ) &&
505505 ! v8 _disable_write_barriers
506506}
507507if (v8_enable_object_print == " " ) {
@@ -517,18 +517,19 @@ if (v8_enable_trace_maps == "") {
517517 v8_enable_trace_maps = v8_enable_debugging_features
518518}
519519if (v8_enable_test_features == " " ) {
520- v8_enable_test_features = v8_enable_debugging_features || v8 _dcheck_always_on
520+ v8_enable_test_features =
521+ v8 _enable_verification_features || v8 _dcheck_always_on
521522}
522523if (v8_enable_v8_checks == " " ) {
523- v8_enable_v8_checks = v8_enable_debugging_features
524+ v8_enable_v8_checks = v8_enable_verification_features
524525}
525526if (v8_enable_memory_accounting_checks == " " ) {
526527 v8_enable_memory_accounting_checks =
527- v 8 _enable_debugging_features || v8 _dcheck_always_on
528+ v 8 _enable_verification_features || v8 _dcheck_always_on
528529}
529530if (v8_enable_heap_snapshot_verify == " " ) {
530531 v8_enable_heap_snapshot_verify =
531- v 8 _enable_debugging_features || v8 _dcheck_always_on
532+ v 8 _enable_verification_features || v8 _dcheck_always_on
532533}
533534if (v8_enable_snapshot_code_comments ) {
534535 assert (v8_code_comments == true || v8_code_comments == " " ,
@@ -538,7 +539,7 @@ if (v8_enable_snapshot_code_comments) {
538539 v8_code_comments = v8_enable_debugging_features
539540}
540541if (v8_enable_debug_code == " " ) {
541- v8_enable_debug_code = v8_enable_debugging_features || v8 _dcheck_always_on
542+ v8_enable_debug_code = v8_enable_verification_features || v8 _dcheck_always_on
542543}
543544if (v8_enable_snapshot_native_code_counters == " " ) {
544545 v8_enable_snapshot_native_code_counters = v8_enable_debugging_features
@@ -651,9 +652,9 @@ assert(!v8_enable_trace_ignition || v8_enable_trace_unoptimized,
651652assert (! v8_enable_trace_baseline_exec || v8_enable_trace_unoptimized ,
652653 " Baseline tracing requires unoptimized tracing to be enabled." )
653654assert (
654- v8_enable_debugging_features == true || v8_dcheck_always_on ||
655+ v8_enable_verification_features == true || v8_dcheck_always_on ||
655656 ! v8_enable_slow_dchecks ,
656- " v8_enable_slow_dchecks requires v8_enable_debugging_features or dcheck_always_on." )
657+ " v8_enable_slow_dchecks requires v8_enable_verification_features or dcheck_always_on." )
657658
658659if (v8_enable_short_builtin_calls &&
659660 (! v8_enable_pointer_compression && v8_current_cpu != " x64" )) {
@@ -825,7 +826,7 @@ assert(
825826v8_random_seed = " 314159265"
826827v8_toolset_for_shell = " host"
827828
828- is_DEBUG_defined = v8_enable_debugging_features || v8 _dcheck_always_on
829+ is_DEBUG_defined = v8_enable_verification_features || v8 _dcheck_always_on
829830
830831# ##############################################################################
831832# Configurations
@@ -1264,7 +1265,7 @@ config("features") {
12641265 }
12651266 if (v8_enable_debug_code ) {
12661267 defines += [ " V8_ENABLE_DEBUG_CODE" ]
1267- if (v8_enable_debugging_features ) {
1268+ if (v8_enable_verification_features ) {
12681269 defines += [ " V8_ENABLE_SLOW_DEBUG_CODE_BY_DEFAULT" ]
12691270 }
12701271 }
@@ -1646,7 +1647,7 @@ config("toolchain") {
16461647 # TODO(infra ): Support v8_enable_prof on Windows.
16471648 # TODO(infra ): Add support for compiling with simulators.
16481649
1649- if (v8_enable_debugging_features || v8_dcheck_always_on ) {
1650+ if (v8_enable_verification_features || v8_dcheck_always_on ) {
16501651 defines += [ " DEBUG" ]
16511652 if (v8_enable_slow_dchecks ) {
16521653 defines += [ " ENABLE_SLOW_DCHECKS" ]
@@ -2696,7 +2697,7 @@ template("run_mksnapshot") {
26962697 args += [ " --no-turbo-rewrite-far-jumps" ]
26972698 }
26982699
2699- if (v8_enable_debugging_features && v8_enable_slow_dchecks ) {
2700+ if (v8_enable_verification_features && v8_enable_slow_dchecks ) {
27002701 # mksnapshot only accepts this flag if ENABLE_SLOW_DCHECKS is defined.
27012702 args += [ " --no-enable-slow-asserts" ]
27022703 }
@@ -2830,7 +2831,7 @@ if (v8_verify_builtins_compatibility) {
28302831action (" v8_dump_build_config" ) {
28312832 script = " tools/testrunner/utils/dump_build_config.py"
28322833 outputs = [ " $root_out_dir /v8_build_config.json" ]
2833- is_full_debug = v8_enable_debugging_features && ! v8 _optimized_debug
2834+ is_full_debug = v8_enable_verification_features && ! v8 _optimized_debug
28342835
28352836 arch = v8_target_cpu
28362837 if (v8_target_cpu == " x86" ) {
@@ -2915,6 +2916,7 @@ action("v8_dump_build_config") {
29152916 " v8_cfi=$v8_control_flow_integrity " ,
29162917 " v8_current_cpu=\" $v8_current_cpu \" " ,
29172918 " v8_target_cpu=\" $v8_target_cpu \" " ,
2919+ " verification_features=$v8_enable_verification_features " ,
29182920 " verify_csa=$v8_enable_verify_csa " ,
29192921 " verify_heap=$v8_enable_verify_heap " ,
29202922 " verify_predictable=$v8_enable_verify_predictable " ,
@@ -3553,7 +3555,7 @@ v8_header_set("v8_internal_headers") {
35533555 " src/compiler/backend/register-allocator.h" ,
35543556 " src/compiler/backend/spill-placer.h" ,
35553557 " src/compiler/backend/unwinding-info-writer.h" ,
3556- " src/compiler/basic-block-instrumentor .h" ,
3558+ " src/compiler/basic-block-call-graph-profiler .h" ,
35573559 " src/compiler/branch-elimination.h" ,
35583560 " src/compiler/bytecode-analysis.h" ,
35593561 " src/compiler/bytecode-graph-builder.h" ,
@@ -3663,6 +3665,7 @@ v8_header_set("v8_internal_headers") {
36633665 " src/compiler/turboshaft/branch-elimination-reducer.h" ,
36643666 " src/compiler/turboshaft/build-graph-phase.h" ,
36653667 " src/compiler/turboshaft/builtin-call-descriptors.h" ,
3668+ " src/compiler/turboshaft/call-descriptors-util.h" ,
36663669 " src/compiler/turboshaft/code-elimination-and-simplification-phase.h" ,
36673670 " src/compiler/turboshaft/copying-phase.h" ,
36683671 " src/compiler/turboshaft/csa-branch-elimination-phase.h" ,
@@ -3730,6 +3733,7 @@ v8_header_set("v8_internal_headers") {
37303733 " src/compiler/turboshaft/string-view.h" ,
37313734 " src/compiler/turboshaft/tracing.h" ,
37323735 " src/compiler/turboshaft/turbolev-early-lowering-reducer-inl.h" ,
3736+ " src/compiler/turboshaft/turbolev-frontend-pipeline.h" ,
37333737 " src/compiler/turboshaft/turbolev-graph-builder.h" ,
37343738 " src/compiler/turboshaft/type-assertions-phase.h" ,
37353739 " src/compiler/turboshaft/type-inference-analysis.h" ,
@@ -3739,6 +3743,7 @@ v8_header_set("v8_internal_headers") {
37393743 " src/compiler/turboshaft/typed-optimizations-reducer.h" ,
37403744 " src/compiler/turboshaft/typer.h" ,
37413745 " src/compiler/turboshaft/types.h" ,
3746+ " src/compiler/turboshaft/typeswitch.h" ,
37423747 " src/compiler/turboshaft/undef-assembler-macros.inc" ,
37433748 " src/compiler/turboshaft/uniform-reducer-adapter.h" ,
37443749 " src/compiler/turboshaft/use-map.h" ,
@@ -4562,7 +4567,6 @@ v8_header_set("v8_internal_headers") {
45624567 " src/compiler/turboshaft/wasm-shuffle-reducer.h" ,
45634568 " src/compiler/turboshaft/wasm-simd-phase.h" ,
45644569 " src/compiler/turboshaft/wasm-turboshaft-compiler.h" ,
4565- " src/compiler/turboshaft/wasm-type-cast-rtt-optimization-helpers.h" ,
45664570 " src/compiler/wasm-address-reassociation.h" ,
45674571 " src/compiler/wasm-call-descriptors.h" ,
45684572 " src/compiler/wasm-compiler-definitions.h" ,
@@ -5134,7 +5138,7 @@ v8_compiler_sources = [
51345138 " src/compiler/backend/register-allocator-verifier.cc" ,
51355139 " src/compiler/backend/register-allocator.cc" ,
51365140 " src/compiler/backend/spill-placer.cc" ,
5137- " src/compiler/basic-block-instrumentor .cc" ,
5141+ " src/compiler/basic-block-call-graph-profiler .cc" ,
51385142 " src/compiler/branch-elimination.cc" ,
51395143 " src/compiler/bytecode-analysis.cc" ,
51405144 " src/compiler/bytecode-graph-builder.cc" ,
@@ -5259,6 +5263,7 @@ v8_compiler_sources = [
52595263 " src/compiler/turboshaft/simplify-tf-loops.cc" ,
52605264 " src/compiler/turboshaft/store-store-elimination-phase.cc" ,
52615265 " src/compiler/turboshaft/string-escape-analysis-reducer.cc" ,
5266+ " src/compiler/turboshaft/turbolev-frontend-pipeline.cc" ,
52625267 " src/compiler/turboshaft/turbolev-graph-builder.cc" ,
52635268 " src/compiler/turboshaft/type-assertions-phase.cc" ,
52645269 " src/compiler/turboshaft/type-parser.cc" ,
@@ -5385,7 +5390,6 @@ if (v8_enable_webassembly) {
53855390 " src/compiler/turboshaft/wasm-shuffle-reducer.cc" ,
53865391 " src/compiler/turboshaft/wasm-simd-phase.cc" ,
53875392 " src/compiler/turboshaft/wasm-turboshaft-compiler.cc" ,
5388- " src/compiler/turboshaft/wasm-type-cast-rtt-optimization-helpers.cc" ,
53895393 " src/compiler/wasm-address-reassociation.cc" ,
53905394 " src/compiler/wasm-call-descriptors.cc" ,
53915395 " src/compiler/wasm-compiler.cc" ,
0 commit comments