From 107e06a396e6c42b1dce4bf032ae356941ac4a48 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 15 Dec 2022 19:59:47 +0000 Subject: LibJS: Convert new_declarative_environment() to NonnullGCPtr --- Userland/Libraries/LibJS/Runtime/AbstractOperations.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibJS/Runtime/AbstractOperations.h') diff --git a/Userland/Libraries/LibJS/Runtime/AbstractOperations.h b/Userland/Libraries/LibJS/Runtime/AbstractOperations.h index 29e638818c..b9bc01661a 100644 --- a/Userland/Libraries/LibJS/Runtime/AbstractOperations.h +++ b/Userland/Libraries/LibJS/Runtime/AbstractOperations.h @@ -19,7 +19,7 @@ namespace JS { -DeclarativeEnvironment* new_declarative_environment(Environment&); +NonnullGCPtr new_declarative_environment(Environment&); ObjectEnvironment* new_object_environment(Object&, bool is_with_environment, Environment*); FunctionEnvironment* new_function_environment(ECMAScriptFunctionObject&, Object* new_target); PrivateEnvironment* new_private_environment(VM& vm, PrivateEnvironment* outer); -- cgit v1.2.3