LibJS: Remove unused FunctionObject::environment()

ECMAScriptFunctionObject::environment() can just be non-virtual.
This commit is contained in:
Linus Groh 2021-09-25 09:10:22 +02:00
parent 9043041dd3
commit 2dba048146
Notes: sideshowbarker 2024-07-18 03:27:50 +09:00
2 changed files with 1 additions and 6 deletions

View file

@ -47,7 +47,7 @@ public:
auto& bytecode_executable() const { return m_bytecode_executable; }
virtual Environment* environment() override { return m_environment; }
Environment* environment() { return m_environment; }
virtual Realm* realm() const override { return m_realm; }
ConstructorKind constructor_kind() const { return m_constructor_kind; };