Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 677d567b7a323441078714b02ebc87c18864b404..459420c5d3fb7d9259297538f6d30490db3ab456 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1392,7 +1392,9 @@ void JSObject::initialize_properties() { |
void JSObject::initialize_elements() { |
- ASSERT(map()->has_fast_elements() || map()->has_fast_smi_only_elements()); |
+ ASSERT(map()->has_fast_elements() || |
+ map()->has_fast_smi_only_elements() || |
+ map()->has_fast_double_elements()); |
ASSERT(!GetHeap()->InNewSpace(GetHeap()->empty_fixed_array())); |
WRITE_FIELD(this, kElementsOffset, GetHeap()->empty_fixed_array()); |
} |