summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/VM.h
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/Runtime/VM.h
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/Runtime/VM.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/VM.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/VM.h b/Userland/Libraries/LibJS/Runtime/VM.h
index 74e3fac855..90bdb6a360 100644
--- a/Userland/Libraries/LibJS/Runtime/VM.h
+++ b/Userland/Libraries/LibJS/Runtime/VM.h
@@ -148,10 +148,6 @@ public:
ThrowCompletionOr<Value> resolve_this_binding(GlobalObject&);
- Value last_value() const { return m_last_value; }
- void set_last_value(Badge<Bytecode::Interpreter>, Value value) { m_last_value = value; }
- void set_last_value(Badge<Interpreter>, Value value) { m_last_value = value; }
-
const StackInfo& stack_info() const { return m_stack_info; };
bool underscore_is_last_value() const { return m_underscore_is_last_value; }
@@ -261,8 +257,6 @@ private:
Vector<Vector<ExecutionContext*>> m_saved_execution_context_stacks;
- Value m_last_value;
-
StackInfo m_stack_info;
HashMap<String, Symbol*> m_global_symbol_map;