1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +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

@ -187,6 +187,10 @@ public:
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
StringTableIndex source_index() const { return m_source_index; }
StringTableIndex flags_index() const { return m_flags_index; }
RegexTableIndex regex_index() const { return m_regex_index; }
private:
StringTableIndex m_source_index;
StringTableIndex m_flags_index;