moves use_libm_trig_functions flag to right spot

The location I added this in is wrong as it inherits the flag state
from VERIFY_PREDICTABLE, which I did not intend. This patch moves
the location earlier so that it doesn't pick up state from other
flags.

Bug=v8:13477

Change-Id: I23df7e778690e8b9f588cd2ce3db318c5fa22cb1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4112146
Auto-Submit: Scott Violet <sky@chromium.org>
Commit-Queue: Adam Klein <adamk@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84885}
This commit is contained in:
Scott Violet 2022-12-15 11:55:07 -08:00 committed by V8 LUCI CQ
parent 2427a3bad1
commit 95278349ee

View File

@ -2380,6 +2380,10 @@ DEFINE_NEG_IMPLICATION(single_threaded_gc, cppheap_concurrent_marking)
DEFINE_BOOL(experimental_web_snapshots, false, "enable Web Snapshots") DEFINE_BOOL(experimental_web_snapshots, false, "enable Web Snapshots")
DEFINE_NEG_IMPLICATION(experimental_web_snapshots, script_streaming) DEFINE_NEG_IMPLICATION(experimental_web_snapshots, script_streaming)
#if defined(V8_USE_LIBM_TRIG_FUNCTIONS)
DEFINE_BOOL(use_libm_trig_functions, true, "use libm trig functions")
#endif
#undef FLAG #undef FLAG
#ifdef VERIFY_PREDICTABLE #ifdef VERIFY_PREDICTABLE
@ -2394,10 +2398,6 @@ DEFINE_IMPLICATION(verify_predictable, predictable)
DEFINE_INT(dump_allocations_digest_at_alloc, -1, DEFINE_INT(dump_allocations_digest_at_alloc, -1,
"dump allocations digest each n-th allocation") "dump allocations digest each n-th allocation")
#if defined(V8_USE_LIBM_TRIG_FUNCTIONS)
DEFINE_BOOL(use_libm_trig_functions, true, "use libm trig functions")
#endif
// Cleanup... // Cleanup...
#undef FLAG_FULL #undef FLAG_FULL
#undef FLAG_READONLY #undef FLAG_READONLY