1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

LibJS: Convert standalone construct() to NonnullGCPtr

This commit is contained in:
Linus Groh 2022-12-14 19:35:49 +00:00 committed by Tim Flynn
parent 6ae79a84df
commit bd40464195
17 changed files with 35 additions and 35 deletions

View file

@ -90,7 +90,7 @@ ThrowCompletionOr<NonnullGCPtr<Object>> BoundFunction::internal_construct(Marked
final_new_target = &target;
// 6. Return ? Construct(target, args, newTarget).
return *TRY(construct(vm, target, move(args), final_new_target));
return construct(vm, target, move(args), final_new_target);
}
void BoundFunction::visit_edges(Visitor& visitor)