v8/test
Clemens Backes f149912f33 [flags] Protect individual flag updates
Extend the effect of --freeze-flags-after-init to also protect updates
of individual flags instead of only the API.
For this, we wrap each flag in a {FlagValue} class which implicitly
converts to the value of the flag. Some cases still require the explicit
{value()} accessor though. That accessor is {constexpr}, in contrast to
the implicit conversion, because otherwise clang emits a lot of warnings
about dead code within "if (FLAG...)" scopes.

R=cbruni@chromium.org

Bug: v8:12887
Change-Id: I87d3457e49ceb317d34d6a21cf09c520d4171eb5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3683321
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Patrick Thier <pthier@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80938}
2022-06-03 10:24:40 +00:00
..
benchmarks Skipping benchmarks/octane/typescript on NumFuzz until the issue is fixed 2022-05-13 09:45:18 +00:00
bigint [bigint][test] Parse command-line integer parameters robustly 2022-05-30 15:21:36 +00:00
cctest [flags] Protect individual flag updates 2022-06-03 10:24:40 +00:00
common [flags] Protect individual flag updates 2022-06-03 10:24:40 +00:00
debugger [flags] Rename --opt to --turbofan 2022-05-03 12:10:30 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm][fuzzer] Refactor second instantiation 2022-06-01 16:46:28 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [inspector] Reset the async task stack when resetting the context group 2022-05-25 10:51:23 +00:00
intl [flags] Rename --opt to --turbofan 2022-05-03 12:10:30 +00:00
js-perf-test [compiler] Inline Array.prototype.at in JSCallReducer 2022-05-25 10:01:03 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message JSON.parse errors made user-friendly 2022-05-16 17:02:37 +00:00
mjsunit [rab/gsab] RAB/GSAB support for A.p.concat 2022-06-03 09:40:09 +00:00
mkgrokdump [sandbox] Turn V8_SANDBOX into V8_ENABLE_SANDBOX 2022-05-13 16:23:23 +00:00
mozilla [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
test262 [Temporal] Add toJSON and non-intl version ot toLocaleString to PlainDateTime 2022-05-28 19:17:45 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [flags] Protect individual flag updates 2022-06-03 10:24:40 +00:00
wasm-api-tests [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
wasm-js [wasm] Update spec tests 2022-05-12 12:34:21 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-05-12 12:34:21 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS