summaryrefslogtreecommitdiff
path: root/Libraries/LibJS
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-12-08 13:32:15 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-08 17:49:02 +0100
commit930fae633e31d7ccd5df5a8f9ad0fc91fccaf26f (patch)
tree9afa92ce17cd8404d7d43fa6ce8db71d373dc056 /Libraries/LibJS
parent63b748642af7c84ccf02d1bb5d19d7e83e2f39be (diff)
downloadserenity-930fae633e31d7ccd5df5a8f9ad0fc91fccaf26f.zip
LibJS: Make sure GlobalObject marks the Proxy constructor
Diffstat (limited to 'Libraries/LibJS')
-rw-r--r--Libraries/LibJS/Runtime/GlobalObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/GlobalObject.cpp b/Libraries/LibJS/Runtime/GlobalObject.cpp
index a51d353973..37135f907c 100644
--- a/Libraries/LibJS/Runtime/GlobalObject.cpp
+++ b/Libraries/LibJS/Runtime/GlobalObject.cpp
@@ -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);