mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
LibJS/JIT: Compile the IteratorClose instruction
This commit is contained in:
parent
233502a10c
commit
c697ff61f6
3 changed files with 28 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue