mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
LibJS: Generate unwind chains for break in Bytecode
This uses a newly added instruction `ScheduleJump` This instruction tells the finally proceeding it, that instead of jumping to it's next block it should jump to the designated block.
This commit is contained in:
parent
495ba53e46
commit
f5376cb282
Notes:
sideshowbarker
2024-07-17 21:26:19 +09:00
Author: https://github.com/Hendiadyoin1
Commit: f5376cb282
Pull-request: https://github.com/SerenityOS/serenity/pull/16184
Issue: https://github.com/SerenityOS/serenity/issues/16393
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/kleinesfilmroellchen
9 changed files with 123 additions and 19 deletions
|
@ -78,6 +78,7 @@
|
|||
O(ResolveThisBinding) \
|
||||
O(Return) \
|
||||
O(RightShift) \
|
||||
O(ScheduleJump) \
|
||||
O(SetVariable) \
|
||||
O(Store) \
|
||||
O(StrictlyEquals) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue