Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index ddfae0e59587eb134989078cb89ed96ba57174f3..5d06a672b3d65d6fd37b0f5f4571fbd6eaba3bc8 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -72,10 +72,6 @@ void StaticNewSpaceVisitor<StaticVisitor>::Initialize() { |
table_.Register(kVisitJSArrayBuffer, &VisitJSArrayBuffer); |
- table_.Register(kVisitJSTypedArray, &VisitJSTypedArray); |
- |
- table_.Register(kVisitJSDataView, &VisitJSDataView); |
- |
table_.Register(kVisitFreeSpace, &VisitFreeSpace); |
table_.Register(kVisitJSWeakCollection, &JSObjectVisitor::Visit); |
@@ -107,28 +103,6 @@ int StaticNewSpaceVisitor<StaticVisitor>::VisitJSArrayBuffer( |
template <typename StaticVisitor> |
-int StaticNewSpaceVisitor<StaticVisitor>::VisitJSTypedArray( |
- Map* map, HeapObject* object) { |
- VisitPointers( |
- map->GetHeap(), object, |
- HeapObject::RawField(object, JSTypedArray::BodyDescriptor::kStartOffset), |
- HeapObject::RawField(object, JSTypedArray::kSizeWithInternalFields)); |
- return JSTypedArray::kSizeWithInternalFields; |
-} |
- |
- |
-template <typename StaticVisitor> |
-int StaticNewSpaceVisitor<StaticVisitor>::VisitJSDataView(Map* map, |
- HeapObject* object) { |
- VisitPointers( |
- map->GetHeap(), object, |
- HeapObject::RawField(object, JSDataView::BodyDescriptor::kStartOffset), |
- HeapObject::RawField(object, JSDataView::kSizeWithInternalFields)); |
- return JSDataView::kSizeWithInternalFields; |
-} |
- |
- |
-template <typename StaticVisitor> |
int StaticNewSpaceVisitor<StaticVisitor>::VisitBytecodeArray( |
Map* map, HeapObject* object) { |
VisitPointers( |
@@ -195,10 +169,6 @@ void StaticMarkingVisitor<StaticVisitor>::Initialize() { |
table_.Register(kVisitJSArrayBuffer, &VisitJSArrayBuffer); |
- table_.Register(kVisitJSTypedArray, &VisitJSTypedArray); |
- |
- table_.Register(kVisitJSDataView, &VisitJSDataView); |
- |
// Registration for kVisitJSRegExp is done by StaticVisitor. |
table_.Register( |
@@ -539,24 +509,6 @@ void StaticMarkingVisitor<StaticVisitor>::VisitJSArrayBuffer( |
template <typename StaticVisitor> |
-void StaticMarkingVisitor<StaticVisitor>::VisitJSTypedArray( |
- Map* map, HeapObject* object) { |
- typedef FlexibleBodyVisitor<StaticVisitor, JSTypedArray::BodyDescriptor, void> |
- JSTypedArrayBodyVisitor; |
- JSTypedArrayBodyVisitor::Visit(map, object); |
-} |
- |
- |
-template <typename StaticVisitor> |
-void StaticMarkingVisitor<StaticVisitor>::VisitJSDataView(Map* map, |
- HeapObject* object) { |
- typedef FlexibleBodyVisitor<StaticVisitor, JSDataView::BodyDescriptor, void> |
- JSDataViewBodyVisitor; |
- JSDataViewBodyVisitor::Visit(map, object); |
-} |
- |
- |
-template <typename StaticVisitor> |
void StaticMarkingVisitor<StaticVisitor>::VisitBytecodeArray( |
Map* map, HeapObject* object) { |
StaticVisitor::VisitPointers( |