mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 09:54:57 +00:00
LibJS: Save scheduled jumps when entering unwind contexts
These are then restored upon `ContinuePendingUnwind`. This stops us from forgetting where we needed to jump when we do extra try-catches in finally blocks. Co-Authored-By: Jesús "gsus" Lapastora <cyber.gsuscode@gmail.com>
This commit is contained in:
parent
4da5b8ec67
commit
1341f4438d
4 changed files with 95 additions and 2 deletions
|
@ -15,7 +15,6 @@ namespace JS::Bytecode {
|
|||
|
||||
struct UnwindInfo {
|
||||
Executable const* executable;
|
||||
|
||||
JS::GCPtr<Environment> lexical_environment;
|
||||
|
||||
bool handler_called { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue