Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 2bca797d18a8bc5d33c839e842a0474a33530dbc..2764b371473716c69ed75f39711d85d55b32464e 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2738,6 +2738,9 @@ FixedArrayBase* Map::GetInitialElements() { |
GetHeap()->EmptyFixedTypedArrayForMap(this); |
ASSERT(!GetHeap()->InNewSpace(empty_array)); |
return empty_array; |
+ } else if (has_dictionary_elements()) { |
+ ASSERT(!GetHeap()->InNewSpace(GetHeap()->empty_slow_element_dictionary())); |
+ return GetHeap()->empty_slow_element_dictionary(); |
} else { |
UNREACHABLE(); |
} |