1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibJS/JIT: Compile the Append instruction

This commit is contained in:
Simon Wanner 2023-10-29 17:25:49 +01:00 committed by Andreas Kling
parent 516bb01082
commit 40064d872f
3 changed files with 22 additions and 1 deletions

View file

@ -318,6 +318,9 @@ public:
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
Register lhs() const { return m_lhs; }
bool is_spread() const { return m_is_spread; }
private:
Register m_lhs;
bool m_is_spread = false;