mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibJS/JIT: Compile the IteratorClose instruction
This commit is contained in:
parent
233502a10c
commit
c697ff61f6
Notes:
sideshowbarker
2024-07-17 02:56:25 +09:00
Author: https://github.com/skyrising
Commit: c697ff61f6
Pull-request: https://github.com/SerenityOS/serenity/pull/21677
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