1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +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:
Linus Groh 2022-01-08 21:57:24 +01:00
parent eb60d16549
commit 963b0f76cf
4 changed files with 0 additions and 16 deletions

View file

@ -97,9 +97,6 @@ void VM::gather_roots(HashTable<Cell*>& roots)
roots.set(m_exception);
if (m_last_value.is_cell())
roots.set(&m_last_value.as_cell());
auto gather_roots_from_execution_context_stack = [&roots](Vector<ExecutionContext*> const& stack) {
for (auto& execution_context : stack) {
if (execution_context->this_value.is_cell())