Index: src/transitions.cc |
diff --git a/src/transitions.cc b/src/transitions.cc |
index c39534bbb566a2930934d2a56482517a2d18e1c6..f00f33146792df503ffe9cd333bb0206e87c97b2 100644 |
--- a/src/transitions.cc |
+++ b/src/transitions.cc |
@@ -223,6 +223,7 @@ Handle<String> TransitionArray::ExpectedTransitionKey(Handle<Map> map) { |
// static |
bool TransitionArray::CanHaveMoreTransitions(Handle<Map> map) { |
+ if (map->is_dictionary_map()) return false; |
Object* raw_transitions = map->raw_transitions(); |
if (IsFullTransitionArray(raw_transitions)) { |
TransitionArray* transitions = TransitionArray::cast(raw_transitions); |