LibJS/JIT: Compile the IteratorClose instruction

This commit is contained in:
Simon Wanner 2023-10-29 16:59:53 +01:00 committed by Andreas Kling
commit c697ff61f6
Notes: sideshowbarker 2024-07-17 02:56:25 +09:00
3 changed files with 28 additions and 1 deletions

View file

@ -1343,6 +1343,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;