Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index c504988436f79f562eb73530db3ff4b30da489da..7efd5e0a439b5f3516d348519160f8adc3ef5ce5 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -385,7 +385,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitTransitionArray( |
} |
// Enqueue the array in linked list of encountered transition arrays if it is |
// not already in the list. |
- if (array->next_link()->IsUndefined()) { |
+ if (array->next_link()->IsUndefined(heap->isolate())) { |
Heap* heap = map->GetHeap(); |
array->set_next_link(heap->encountered_transition_arrays(), |
UPDATE_WEAK_WRITE_BARRIER); |