Index: src/transitions.cc |
diff --git a/src/transitions.cc b/src/transitions.cc |
index f00f33146792df503ffe9cd333bb0206e87c97b2..09884d506658408d6f0c7de58fcedd381b7f0502 100644 |
--- a/src/transitions.cc |
+++ b/src/transitions.cc |
@@ -106,9 +106,10 @@ void TransitionArray::Insert(Handle<Map> map, Handle<Name> name, |
} |
// We're gonna need a bigger TransitionArray. |
- Handle<TransitionArray> result = Allocate( |
- map->GetIsolate(), new_nof, |
- Map::SlackForArraySize(number_of_transitions, kMaxNumberOfTransitions)); |
+ Handle<TransitionArray> result = |
+ Allocate(map->GetIsolate(), new_nof, |
+ Map::SlackForArraySize(false, number_of_transitions, |
+ kMaxNumberOfTransitions)); |
// The map's transition array may have shrunk during the allocation above as |
// it was weakly traversed, though it is guaranteed not to disappear. Trim the |