Issue #2692 - Follow-Up: fix compilation in debug

This commit is contained in:
Martok 2025-03-23 16:32:54 +01:00 committed by roytam1
commit 7d3dc5a2f2

View file

@ -3946,7 +3946,7 @@ ParseRegExp(JSContext* cx, unsigned argc, Value* vp)
if (!pattern)
return false;
CompileOptions options(cx);
JS::CompileOptions options(cx);
frontend::TokenStream dummyTokenStream(cx, options, nullptr, 0, nullptr);
irregexp::RegExpCompileData data;