diff options
author | Linus Groh <mail@linusgroh.de> | 2022-12-15 19:59:47 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-16 09:59:56 +0100 |
commit | 107e06a396e6c42b1dce4bf032ae356941ac4a48 (patch) | |
tree | 7d3d7cff0f45bba476f19316a65bedd2c696d11e /Userland/Libraries/LibJS/Runtime/AbstractOperations.h | |
parent | 4c732abed52535071d9b47d0e70dcda63fe28e42 (diff) | |
download | serenity-107e06a396e6c42b1dce4bf032ae356941ac4a48.zip |
LibJS: Convert new_declarative_environment() to NonnullGCPtr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/AbstractOperations.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/AbstractOperations.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<DeclarativeEnvironment> 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); |