|
@@ -28,6 +28,7 @@ private:
|
|
|
|
|
|
ArrayIterator(Value array, Object::PropertyKind iteration_kind, Object& prototype);
|
|
|
|
|
|
+ virtual bool is_array_iterator() const override { return true; }
|
|
|
virtual void visit_edges(Cell::Visitor&) override;
|
|
|
|
|
|
Value m_array;
|
|
@@ -35,4 +36,7 @@ private:
|
|
|
size_t m_index { 0 };
|
|
|
};
|
|
|
|
|
|
+template<>
|
|
|
+inline bool Object::fast_is<ArrayIterator>() const { return is_array_iterator(); }
|
|
|
+
|
|
|
}
|