Index: src/objects-visiting.cc |
diff --git a/src/objects-visiting.cc b/src/objects-visiting.cc |
index 7b5c8bef75e2ec922dd20ddf5f96ce45da59f7ae..4bf2804584f23c1767b890615efe1dff5504ccc9 100644 |
--- a/src/objects-visiting.cc |
+++ b/src/objects-visiting.cc |
@@ -134,6 +134,12 @@ StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
case FILLER_TYPE: |
return kVisitDataObjectGeneric; |
+ case JS_ARRAY_BUFFER_TYPE: |
+ return kVisitJSArrayBuffer; |
+ |
+ case JS_TYPED_ARRAY_TYPE: |
+ return kVisitJSTypedArray; |
+ |
case JS_OBJECT_TYPE: |
case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
case JS_GENERATOR_OBJECT_TYPE: |
@@ -145,8 +151,6 @@ StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
case JS_GLOBAL_OBJECT_TYPE: |
case JS_BUILTINS_OBJECT_TYPE: |
case JS_MESSAGE_OBJECT_TYPE: |
- case JS_ARRAY_BUFFER_TYPE: |
- case JS_TYPED_ARRAY_TYPE: |
return GetVisitorIdForSize(kVisitJSObject, |
kVisitJSObjectGeneric, |
instance_size); |