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

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
parent f9fbb8cff2
commit 4b23a7dfb4
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;