mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1879225: Remove obsolete argument r=dminor
The RegExpCompiler stores the flags internally, so there isn't any need to pass them in here. Upstream V8 fixed the API. Differential Revision: https://phabricator.services.mozilla.com/D201919
This commit is contained in:
parent
6661d7f364
commit
a5d7741777
@ -773,7 +773,7 @@ bool CompilePattern(JSContext* cx, MutableHandleRegExpShared re,
|
||||
bool isLatin1 = input->hasLatin1Chars();
|
||||
|
||||
SampleCharacters(input, compiler);
|
||||
data.node = compiler.PreprocessRegExp(&data, flags, isLatin1);
|
||||
data.node = compiler.PreprocessRegExp(&data, isLatin1);
|
||||
data.error = AnalyzeRegExp(cx->isolate, isLatin1, flags, data.node);
|
||||
if (data.error != RegExpError::kNone) {
|
||||
MOZ_ASSERT(data.error == RegExpError::kAnalysisStackOverflow);
|
||||
|
Loading…
Reference in New Issue
Block a user