Skip to content

Commit

Permalink
tools: fix --v8-non-optimized-debug for v18.x
Browse files Browse the repository at this point in the history
Disable SLOW_DCHECKs on v18.x because they don't compile without
the patches in https://bugs.chromium.org/p/v8/issues/detail?id=12887
if used in constexpr, which can happen in other floated patches.

PR-URL: nodejs/node#50612
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 383a856 commit 069bbad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions graal-nodejs/tools/v8_gypfiles/features.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
# Set to 1 to enable DCHECKs in release builds.
'dcheck_always_on%': 0,

# For v18.x, disable SLOW_DCHECKs because they don't compile without
# the patches in https://bugs.chromium.org/p/v8/issues/detail?id=12887
# if used in constexpr, which can happen in other floated patches.
'v8_enable_slow_dchecks%': 0,

# Sets -DV8_ENABLE_FUTURE.
'v8_enable_future%': 0,

Expand Down

0 comments on commit 069bbad

Please sign in to comment.