summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/VM.h
diff options
context:
space:
mode:
authordavidot <davidot@serenityos.org>2022-01-16 02:05:32 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-16 14:57:12 +0100
commita5b11f7484494489c5cc68d61dff23eb6ca4f0f4 (patch)
tree14546bbbb26544272e7cebb9bbb4be2563e2d29f /Userland/Libraries/LibJS/Runtime/VM.h
parent30af8121ce00e6d3324cee71545647539c5f20fd (diff)
downloadserenity-a5b11f7484494489c5cc68d61dff23eb6ca4f0f4.zip
LibJS: Fix that '_' no longer accessed the last value in the REPL
This is now also not a concept that VM knows about and handled completely by the REPL.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/VM.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/VM.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/VM.h b/Userland/Libraries/LibJS/Runtime/VM.h
index fb50667794..6d7e50029d 100644
--- a/Userland/Libraries/LibJS/Runtime/VM.h
+++ b/Userland/Libraries/LibJS/Runtime/VM.h
@@ -156,9 +156,6 @@ public:
const StackInfo& stack_info() const { return m_stack_info; };
- bool underscore_is_last_value() const { return m_underscore_is_last_value; }
- void set_underscore_is_last_value(bool b) { m_underscore_is_last_value = b; }
-
u32 execution_generation() const { return m_execution_generation; }
void finish_execution_generation() { ++m_execution_generation; }
@@ -279,8 +276,6 @@ private:
JS_ENUMERATE_WELL_KNOWN_SYMBOLS
#undef __JS_ENUMERATE
- bool m_underscore_is_last_value { false };
-
u32 m_execution_generation { 0 };
OwnPtr<CustomData> m_custom_data;