mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1879225: Add stub JitOption for regexp modifiers r=dminor
This flag gates the V8 implementation of this stage 3 proposal: https://github.com/tc39/proposal-regexp-modifiers I've left it turned off for now. We can expose it in a separate bug. Differential Revision: https://phabricator.services.mozilla.com/D201913
This commit is contained in:
parent
d02c8f731f
commit
123ba7e3f8
@ -376,6 +376,8 @@ DefaultJitOptions::DefaultJitOptions() {
|
||||
|
||||
// ***** Irregexp shim flags *****
|
||||
|
||||
// Whether the stage 3 regexp modifiers proposal is enabled.
|
||||
SET_DEFAULT(js_regexp_modifiers, false);
|
||||
// V8 uses this for differential fuzzing to handle stack overflows.
|
||||
// We address the same problem in StackLimitCheck::HasOverflowed.
|
||||
SET_DEFAULT(correctness_fuzzer_suppressions, false);
|
||||
|
@ -143,6 +143,7 @@ struct DefaultJitOptions {
|
||||
// Irregexp shim flags
|
||||
bool correctness_fuzzer_suppressions;
|
||||
bool enable_regexp_unaligned_accesses;
|
||||
bool js_regexp_modifiers;
|
||||
bool regexp_possessive_quantifier;
|
||||
bool regexp_optimization;
|
||||
bool regexp_peephole_optimization;
|
||||
|
Loading…
Reference in New Issue
Block a user