| Index: src/objects-visiting-inl.h
|
| diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h
|
| index cfb7d4461fc13a63cb5aa1f385c1fee34c32df33..612f937bc26fb8ab86248c606e28c2d4a346b8af 100644
|
| --- a/src/objects-visiting-inl.h
|
| +++ b/src/objects-visiting-inl.h
|
| @@ -136,8 +136,8 @@ int StaticNewSpaceVisitor<StaticVisitor>::VisitJSTypedArray(
|
| map->GetHeap(),
|
| HeapObject::RawField(object,
|
| JSTypedArray::kWeakNextOffset + kPointerSize),
|
| - HeapObject::RawField(object, JSTypedArray::kSize));
|
| - return JSTypedArray::kSize;
|
| + HeapObject::RawField(object, JSTypedArray::kSizeWithInternalFields));
|
| + return JSTypedArray::kSizeWithInternalFields;
|
| }
|
|
|
|
|
| @@ -152,8 +152,8 @@ int StaticNewSpaceVisitor<StaticVisitor>::VisitJSDataView(
|
| map->GetHeap(),
|
| HeapObject::RawField(object,
|
| JSDataView::kWeakNextOffset + kPointerSize),
|
| - HeapObject::RawField(object, JSDataView::kSize));
|
| - return JSDataView::kSize;
|
| + HeapObject::RawField(object, JSDataView::kSizeWithInternalFields));
|
| + return JSDataView::kSizeWithInternalFields;
|
| }
|
|
|
|
|
| @@ -522,7 +522,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitJSTypedArray(
|
| map->GetHeap(),
|
| HeapObject::RawField(object,
|
| JSTypedArray::kWeakNextOffset + kPointerSize),
|
| - HeapObject::RawField(object, JSTypedArray::kSize));
|
| + HeapObject::RawField(object, JSTypedArray::kSizeWithInternalFields));
|
| }
|
|
|
|
|
| @@ -537,7 +537,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitJSDataView(
|
| map->GetHeap(),
|
| HeapObject::RawField(object,
|
| JSDataView::kWeakNextOffset + kPointerSize),
|
| - HeapObject::RawField(object, JSDataView::kSize));
|
| + HeapObject::RawField(object, JSDataView::kSizeWithInternalFields));
|
| }
|
|
|
|
|
|
|