summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2023-03-21 10:08:44 -0700
committerAndreas Kling <kling@serenityos.org>2023-04-30 06:04:33 +0200
commit39d8c8d2a9cd600b8baf55862b0431bd08c4b299 (patch)
tree0cac645a30e19cd7c457a98122102a72994b9733 /Userland/Libraries/LibJS/Runtime
parenta3344cab63e7441b9a166521d6ad7889e70083e7 (diff)
downloadserenity-39d8c8d2a9cd600b8baf55862b0431bd08c4b299.zip
LibJS+LibWeb: Add missing visit calls in visit_edges implementations
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime')
-rw-r--r--Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp2
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intrinsics.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp b/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp
index c5568f5e5a..3373535744 100644
--- a/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp
+++ b/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp
@@ -30,7 +30,7 @@ ThrowCompletionOr<void> AsyncFromSyncIterator::initialize(Realm& realm)
void AsyncFromSyncIterator::visit_edges(Cell::Visitor& visitor)
{
- Object::visit_edges(visitor);
+ Base::visit_edges(visitor);
visitor.visit(m_sync_iterator_record.iterator);
visitor.visit(m_sync_iterator_record.next_method);
}
diff --git a/Userland/Libraries/LibJS/Runtime/Intrinsics.cpp b/Userland/Libraries/LibJS/Runtime/Intrinsics.cpp
index 95f8cfc465..6491ff617e 100644
--- a/Userland/Libraries/LibJS/Runtime/Intrinsics.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Intrinsics.cpp
@@ -355,6 +355,17 @@ void Intrinsics::visit_edges(Visitor& visitor)
visitor.visit(m_async_generator_prototype);
visitor.visit(m_generator_prototype);
visitor.visit(m_intl_segments_prototype);
+ visitor.visit(m_eval_function);
+ visitor.visit(m_is_finite_function);
+ visitor.visit(m_is_nan_function);
+ visitor.visit(m_parse_float_function);
+ visitor.visit(m_parse_int_function);
+ visitor.visit(m_decode_uri_function);
+ visitor.visit(m_decode_uri_component_function);
+ visitor.visit(m_encode_uri_function);
+ visitor.visit(m_encode_uri_component_function);
+ visitor.visit(m_escape_function);
+ visitor.visit(m_unescape_function);
visitor.visit(m_array_prototype_values_function);
visitor.visit(m_date_constructor_now_function);
visitor.visit(m_eval_function);