Index: src/objects-visiting.h |
diff --git a/src/objects-visiting.h b/src/objects-visiting.h |
index f7758fdf4fcfed374698e35c8f68515e03c35cbb..cb763654b810ebe01b7998dd8ac29c81a2a04660 100644 |
--- a/src/objects-visiting.h |
+++ b/src/objects-visiting.h |
@@ -47,13 +47,15 @@ namespace internal { |
class StaticVisitorBase : public AllStatic { |
public: |
#define VISITOR_ID_LIST(V) \ |
- V(SeqOneByteString) \ |
+ V(SeqOneByteString) \ |
V(SeqTwoByteString) \ |
V(ShortcutCandidate) \ |
V(ByteArray) \ |
V(FreeSpace) \ |
V(FixedArray) \ |
V(FixedDoubleArray) \ |
+ V(FixedTypedArray) \ |
+ V(FixedFloat64Array) \ |
V(ConstantPoolArray) \ |
V(NativeContext) \ |
V(AllocationSite) \ |
@@ -322,6 +324,10 @@ class StaticNewSpaceVisitor : public StaticVisitorBase { |
return FixedDoubleArray::SizeFor(length); |
} |
+ INLINE(static int VisitFixedTypedArray(Map* map, HeapObject* object)) { |
+ return reinterpret_cast<FixedTypedArrayBase*>(object)->size(); |
+ } |
+ |
INLINE(static int VisitJSObject(Map* map, HeapObject* object)) { |
return JSObjectVisitor::Visit(map, object); |
} |