mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibJS: Add bytecode support for regexp literals
This commit is contained in:
parent
3ccf4dc7ad
commit
df65ff8a1e
Notes:
sideshowbarker
2024-07-18 11:58:08 +09:00
Author: https://github.com/mattco98
Commit: df65ff8a1e
Pull-request: https://github.com/SerenityOS/serenity/pull/8164
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
5 changed files with 41 additions and 0 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue