diff options
author | Luke Wilde <lukew@serenityos.org> | 2022-06-11 23:09:37 +0100 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-06-13 07:13:03 +0430 |
commit | c0fadfb9b73b6cc3e415c43e0f9ab8231aa74433 (patch) | |
tree | 034613b552afd38b43c02b679235152a85fb52f2 /README.md | |
parent | 455c0b7794feb579623bbb584666854e099d9fdf (diff) | |
download | serenity-c0fadfb9b73b6cc3e415c43e0f9ab8231aa74433.zip |
LibJS/Bytecode: Implement break/continue labels
This is done by keeping track of all the labels that apply to a given
break/continue scope alongside their bytecode target. When a
break/continue with a label is generated, we scan from the most inner
scope to the most outer scope looking for the label, performing any
necessary unwinds on the way. Once the label is found, it is then
jumped to.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions