diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-01 12:24:46 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-01 12:28:57 +0200 |
commit | 44221756ab7515617450400bf23d0e8df486c2b7 (patch) | |
tree | 0cca2e683a1d1efd822bdfa7e90995e2aa81d8d9 /Userland/Libraries/LibJS/Interpreter.h | |
parent | 56d25d721001f72bced2aa723d08a19eac9431fb (diff) | |
download | serenity-44221756ab7515617450400bf23d0e8df486c2b7.zip |
LibJS: Drop "Record" suffix from all the *Environment record classes
"Records" in the spec are basically C++ classes, so let's drop this
mouthful of a suffix.
Diffstat (limited to 'Userland/Libraries/LibJS/Interpreter.h')
-rw-r--r-- | Userland/Libraries/LibJS/Interpreter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Interpreter.h b/Userland/Libraries/LibJS/Interpreter.h index a342fc8b10..204cf041d5 100644 --- a/Userland/Libraries/LibJS/Interpreter.h +++ b/Userland/Libraries/LibJS/Interpreter.h @@ -15,7 +15,7 @@ #include <LibJS/Forward.h> #include <LibJS/Heap/DeferGC.h> #include <LibJS/Heap/Heap.h> -#include <LibJS/Runtime/DeclarativeEnvironmentRecord.h> +#include <LibJS/Runtime/DeclarativeEnvironment.h> #include <LibJS/Runtime/ErrorTypes.h> #include <LibJS/Runtime/Exception.h> #include <LibJS/Runtime/MarkedValueList.h> @@ -56,9 +56,9 @@ public: ALWAYS_INLINE Heap& heap() { return vm().heap(); } ALWAYS_INLINE Exception* exception() { return vm().exception(); } - EnvironmentRecord* lexical_environment() { return vm().lexical_environment(); } + Environment* lexical_environment() { return vm().lexical_environment(); } - FunctionEnvironmentRecord* current_function_environment_record(); + FunctionEnvironment* current_function_environment(); void enter_scope(const ScopeNode&, ScopeType, GlobalObject&); void exit_scope(const ScopeNode&); |