|
@@ -69,6 +69,7 @@
|
|
#include <LibJS/Runtime/Intl/RelativeTimeFormatPrototype.h>
|
|
#include <LibJS/Runtime/Intl/RelativeTimeFormatPrototype.h>
|
|
#include <LibJS/Runtime/Intl/SegmenterConstructor.h>
|
|
#include <LibJS/Runtime/Intl/SegmenterConstructor.h>
|
|
#include <LibJS/Runtime/Intl/SegmenterPrototype.h>
|
|
#include <LibJS/Runtime/Intl/SegmenterPrototype.h>
|
|
|
|
+#include <LibJS/Runtime/Intl/SegmentsPrototype.h>
|
|
#include <LibJS/Runtime/IteratorPrototype.h>
|
|
#include <LibJS/Runtime/IteratorPrototype.h>
|
|
#include <LibJS/Runtime/JSONObject.h>
|
|
#include <LibJS/Runtime/JSONObject.h>
|
|
#include <LibJS/Runtime/MapConstructor.h>
|
|
#include <LibJS/Runtime/MapConstructor.h>
|
|
@@ -181,6 +182,8 @@ void GlobalObject::initialize_global_object()
|
|
|
|
|
|
m_async_from_sync_iterator_prototype = heap().allocate<AsyncFromSyncIteratorPrototype>(*this, *this);
|
|
m_async_from_sync_iterator_prototype = heap().allocate<AsyncFromSyncIteratorPrototype>(*this, *this);
|
|
|
|
|
|
|
|
+ m_intl_segments_prototype = heap().allocate<Intl::SegmentsPrototype>(*this, *this);
|
|
|
|
+
|
|
#define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \
|
|
#define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \
|
|
if (!m_##snake_name##_prototype) \
|
|
if (!m_##snake_name##_prototype) \
|
|
m_##snake_name##_prototype = heap().allocate<PrototypeName>(*this, *this);
|
|
m_##snake_name##_prototype = heap().allocate<PrototypeName>(*this, *this);
|
|
@@ -323,6 +326,7 @@ void GlobalObject::visit_edges(Visitor& visitor)
|
|
visitor.visit(m_proxy_constructor);
|
|
visitor.visit(m_proxy_constructor);
|
|
visitor.visit(m_generator_prototype);
|
|
visitor.visit(m_generator_prototype);
|
|
visitor.visit(m_async_from_sync_iterator_prototype);
|
|
visitor.visit(m_async_from_sync_iterator_prototype);
|
|
|
|
+ visitor.visit(m_intl_segments_prototype);
|
|
visitor.visit(m_array_prototype_values_function);
|
|
visitor.visit(m_array_prototype_values_function);
|
|
visitor.visit(m_date_constructor_now_function);
|
|
visitor.visit(m_date_constructor_now_function);
|
|
visitor.visit(m_eval_function);
|
|
visitor.visit(m_eval_function);
|