LibJS/JIT: Compile the NewClass bytecode instruction

This commit is contained in:
Simon Wanner 2023-10-29 02:59:50 +01:00 committed by Andreas Kling
commit 4b23a7dfb4
Notes: sideshowbarker 2024-07-17 00:59:43 +09:00
3 changed files with 25 additions and 0 deletions

View file

@ -1005,6 +1005,9 @@ public:
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
ClassExpression const& class_expression() const { return m_class_expression; }
Optional<IdentifierTableIndex> const& lhs_name() const { return m_lhs_name; }
private:
ClassExpression const& m_class_expression;
Optional<IdentifierTableIndex> m_lhs_name;