Use constexpr more, especially in place of enums.
This fixes C++20 compile errors due to math between disparate enum types being deprecated (e.g. ENUM_A_VAL | ENUM_B_VAL). Bug: chromium:1284275 Change-Id: I7fc83888bb9c8156909cbc3ea1b30ef94d4a2c1f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3830986 Auto-Submit: Peter Kasting <pkasting@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:Jakob Linke <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#82539}
Showing
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment