1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:07:36 +00:00

LibJS: Add bytecode support for regexp literals

This commit is contained in:
Matthew Olsson 2021-06-19 17:17:40 -07:00 committed by Andreas Kling
parent 3ccf4dc7ad
commit df65ff8a1e
5 changed files with 41 additions and 0 deletions

View file

@ -764,6 +764,7 @@ public:
virtual Value execute(Interpreter&, GlobalObject&) const override;
virtual void dump(int indent) const override;
virtual void generate_bytecode(Bytecode::Generator&) const override;
String const& pattern() const { return m_pattern; }
String const& flags() const { return m_flags; }