| Index: src/heap/objects-visiting.h
|
| diff --git a/src/heap/objects-visiting.h b/src/heap/objects-visiting.h
|
| index 5d2176186fdbd215ce6f6a93ac66eccc5ed43edd..e20e858f64d71a0d9541ea5dad78963c7d2dc899 100644
|
| --- a/src/heap/objects-visiting.h
|
| +++ b/src/heap/objects-visiting.h
|
| @@ -247,7 +247,9 @@ class StaticNewSpaceVisitor : public StaticVisitorBase {
|
|
|
| INLINE(static void VisitPointers(Heap* heap, HeapObject* object,
|
| Object** start, Object** end)) {
|
| - for (Object** p = start; p < end; p++) StaticVisitor::VisitPointer(heap, p);
|
| + for (Object** p = start; p < end; p++) {
|
| + StaticVisitor::VisitPointer(heap, object, p);
|
| + }
|
| }
|
|
|
| // Although we are using the JSFunction body descriptor which does not
|
| @@ -268,10 +270,6 @@ 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);
|
| }
|
|
|