| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 450c1c3e7f4540c3944f7755bf6e240aca0e2995..36d1a1e7b8fd525f63e1336e5d6831b82090f5de 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -4970,7 +4970,7 @@ MaybeObject* Heap::CopyJSObjectWithAllocationSite(
|
| int object_size = map->instance_size();
|
| Object* clone;
|
|
|
| - ASSERT(map->CanTrackAllocationSite());
|
| + ASSERT(AllocationSite::CanTrack(map->instance_type()));
|
| ASSERT(map->instance_type() == JS_ARRAY_TYPE);
|
| WriteBarrierMode wb_mode = UPDATE_WRITE_BARRIER;
|
|
|
|
|