1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 08:35:09 +00:00

LibJS: Make sure GlobalObject marks the Proxy constructor

This commit is contained in:
Andreas Kling 2020-12-08 13:32:15 +01:00
parent 63b748642a
commit 930fae633e

View file

@ -164,6 +164,7 @@ void GlobalObject::visit_edges(Visitor& visitor)
visitor.visit(m_empty_object_shape);
visitor.visit(m_new_object_shape);
visitor.visit(m_new_script_function_prototype_object_shape);
visitor.visit(m_proxy_constructor);
#define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \
visitor.visit(m_##snake_name##_constructor);