1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibJS/JIT: Compile the NewRegExp bytecode instruction

This commit is contained in:
Andreas Kling 2023-10-27 17:07:30 +02:00
parent d6756decb9
commit c1551a64dc
6 changed files with 60 additions and 22 deletions

View file

@ -30,5 +30,6 @@ struct CalleeAndThis {
Value this_value;
};
ThrowCompletionOr<CalleeAndThis> get_callee_and_this_from_environment(Bytecode::Interpreter&, DeprecatedFlyString const& name, u32 cache_index);
Value new_regexp(VM&, ParsedRegex const&, DeprecatedString const& pattern, DeprecatedString const& flags);
}