mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibJS: Remove unused FunctionObject::environment()
ECMAScriptFunctionObject::environment() can just be non-virtual.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 03:27:50 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/2dba0481469 Pull-request: https://github.com/SerenityOS/serenity/pull/10203 Reviewed-by: https://github.com/IdanHo ✅ Reviewed-by: https://github.com/davidot
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user