Index: src/heap/objects-visiting.cc |
diff --git a/src/heap/objects-visiting.cc b/src/heap/objects-visiting.cc |
index 6660d42e810105d627a77bc8c91c7d36f227bed8..902a96a644cb054d99d09c6fc4df1adccc8d1744 100644 |
--- a/src/heap/objects-visiting.cc |
+++ b/src/heap/objects-visiting.cc |
@@ -220,7 +220,6 @@ void HeapObject::IterateBody(InstanceType type, int object_size, |
case JS_VALUE_TYPE: |
case JS_DATE_TYPE: |
case JS_ARRAY_TYPE: |
- case JS_ARRAY_BUFFER_TYPE: |
case JS_TYPED_ARRAY_TYPE: |
case JS_DATA_VIEW_TYPE: |
case JS_SET_TYPE: |
@@ -237,6 +236,9 @@ void HeapObject::IterateBody(InstanceType type, int object_size, |
case JS_MESSAGE_OBJECT_TYPE: |
JSObject::BodyDescriptor::IterateBody(this, object_size, v); |
break; |
+ case JS_ARRAY_BUFFER_TYPE: |
+ JSArrayBuffer::JSArrayBufferIterateBody(this, v); |
+ break; |
case JS_FUNCTION_TYPE: |
reinterpret_cast<JSFunction*>(this) |
->JSFunctionIterateBody(object_size, v); |