mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
LibJS: Rename VM::current_scope() => current_environment_record()
And rename some related functions that wrapped this as well.
This commit is contained in:
parent
d407f247b7
commit
08510a0c80
8 changed files with 28 additions and 27 deletions
|
@ -56,8 +56,9 @@ public:
|
|||
ALWAYS_INLINE Heap& heap() { return vm().heap(); }
|
||||
ALWAYS_INLINE Exception* exception() { return vm().exception(); }
|
||||
|
||||
EnvironmentRecord* current_scope() { return vm().current_scope(); }
|
||||
DeclarativeEnvironmentRecord* current_environment();
|
||||
EnvironmentRecord* current_environment_record() { return vm().current_environment_record(); }
|
||||
|
||||
DeclarativeEnvironmentRecord* current_declarative_environment_record();
|
||||
|
||||
void enter_scope(const ScopeNode&, ScopeType, GlobalObject&);
|
||||
void exit_scope(const ScopeNode&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue