mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibJS: Remove now unused VM::{set_,}last_value()
This was effectively replaced by correct use of completions, including UpdateEmpty semantics.
This commit is contained in:
@@ -45,8 +45,6 @@ Interpreter::ValueAndFrame Interpreter::run_and_return_frame(Executable const& e
|
||||
|
||||
TemporaryChange restore_executable { m_current_executable, &executable };
|
||||
|
||||
vm().set_last_value(Badge<Interpreter> {}, {});
|
||||
|
||||
ExecutionContext execution_context(vm().heap());
|
||||
if (vm().execution_context_stack().is_empty()) {
|
||||
execution_context.this_value = &global_object();
|
||||
@@ -137,8 +135,6 @@ Interpreter::ValueAndFrame Interpreter::run_and_return_frame(Executable const& e
|
||||
}
|
||||
}
|
||||
|
||||
vm().set_last_value(Badge<Interpreter> {}, accumulator());
|
||||
|
||||
OwnPtr<RegisterWindow> frame;
|
||||
if (!m_manually_entered_frames.last()) {
|
||||
frame = m_register_windows.take_last();
|
||||
|
||||
Reference in New Issue
Block a user