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:
parent
2427a3bad1
commit
95278349ee
@ -2380,6 +2380,10 @@ DEFINE_NEG_IMPLICATION(single_threaded_gc, cppheap_concurrent_marking)
|
||||
DEFINE_BOOL(experimental_web_snapshots, false, "enable Web Snapshots")
|
||||
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
|
||||
|
||||
#ifdef VERIFY_PREDICTABLE
|
||||
@ -2394,10 +2398,6 @@ DEFINE_IMPLICATION(verify_predictable, predictable)
|
||||
DEFINE_INT(dump_allocations_digest_at_alloc, -1,
|
||||
"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...
|
||||
#undef FLAG_FULL
|
||||
#undef FLAG_READONLY
|
||||
|
Loading…
Reference in New Issue
Block a user