summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Bytecode
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-01-08 21:57:24 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-08 23:43:03 +0100
commit963b0f76cfc4847318ece4267533151db73494d5 (patch)
tree69a8f457423025acbac27fd7782aa11779c1e289 /Userland/Libraries/LibJS/Bytecode
parenteb60d16549eb9415cdbd729afb1f318e8f010dbd (diff)
downloadserenity-963b0f76cfc4847318ece4267533151db73494d5.zip
LibJS: Remove now unused VM::{set_,}last_value()
This was effectively replaced by correct use of completions, including UpdateEmpty semantics.
Diffstat (limited to 'Userland/Libraries/LibJS/Bytecode')
-rw-r--r--Userland/Libraries/LibJS/Bytecode/Interpreter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp
index ab704b4985..9ac95b6339 100644
--- a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp
+++ b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp
@@ -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();