mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 08:15:07 +00:00
LibJS: Generate unwind chains for continue in Bytecode
This works similar to `break` The `try-finally-continue` still do not pass with this, likely because of binding issues.
This commit is contained in:
parent
f5376cb282
commit
d65488b80c
4 changed files with 55 additions and 19 deletions
|
@ -45,7 +45,7 @@ Interpreter::ValueAndFrame Interpreter::run_and_return_frame(Executable const& e
|
|||
|
||||
TemporaryChange restore_executable { m_current_executable, &executable };
|
||||
TemporaryChange restore_saved_jump { m_scheduled_jump, static_cast<BasicBlock const*>(nullptr) };
|
||||
VERIFY(m_saved_exception.is_null());
|
||||
TemporaryChange restore_saved_exception { m_saved_exception, {} };
|
||||
|
||||
bool pushed_execution_context = false;
|
||||
ExecutionContext execution_context(vm().heap());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue