diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-06-14 13:46:02 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-15 12:15:12 +0100 |
commit | 2100b46d0263c307a5ff2ed5a2f70e759b4f8b76 (patch) | |
tree | 8fc54af5cb3b4f2b8cc17e30ea2a4a5e4a6fd864 /Userland/Libraries/LibJS/Runtime/VM.h | |
parent | 3e4b48f68efc6fb9488c51a8835dafc0a4728315 (diff) | |
download | serenity-2100b46d0263c307a5ff2ed5a2f70e759b4f8b76.zip |
LibJS: Implement the IteratorClose abstract op and use it where needed
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/VM.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/VM.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/VM.h b/Userland/Libraries/LibJS/Runtime/VM.h index 6f9f5de524..e0609e1c19 100644 --- a/Userland/Libraries/LibJS/Runtime/VM.h +++ b/Userland/Libraries/LibJS/Runtime/VM.h @@ -188,6 +188,7 @@ public: bool should_unwind() const { return m_unwind_until != ScopeType::None; } ScopeType unwind_until() const { return m_unwind_until; } + FlyString unwind_until_label() const { return m_unwind_until_label; } Value get_variable(const FlyString& name, GlobalObject&); void set_variable(const FlyString& name, Value, GlobalObject&, bool first_assignment = false, ScopeObject* specific_scope = nullptr); |