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

LibJS/JIT: Compile the AsyncIteratorClose instruction

This commit is contained in:
Simon Wanner 2023-10-30 02:17:24 +01:00 committed by Andreas Kling
parent ac59e982a9
commit a2b0154661
3 changed files with 28 additions and 1 deletions

View file

@ -1411,6 +1411,9 @@ public:
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
Completion::Type completion_type() const { return m_completion_type; }
Optional<Value> const& completion_value() const { return m_completion_value; }
private:
Completion::Type m_completion_type { Completion::Type::Normal };
Optional<Value> m_completion_value;