Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index f629d9f19f52b122f9f71c838c787ab91314df5f..e66e23b6b351c82f74ef45edf8152e18907ce6af 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4195,7 +4195,7 @@ static MaybeObject* EnsureHasTransitionArray(Map* map) { |
TransitionArray* transitions; |
MaybeObject* maybe_transitions; |
if (!map->HasTransitionArray()) { |
- maybe_transitions = TransitionArray::Allocate(0); |
+ maybe_transitions = TransitionArray::Allocate(map->GetIsolate(), 0); |
if (!maybe_transitions->To(&transitions)) return maybe_transitions; |
transitions->set_back_pointer_storage(map->GetBackPointer()); |
} else if (!map->transitions()->IsFullTransitionArray()) { |