Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6c2c73aab06d73bdea20725987f308c82f0dad87..68feda46b47ad35317b0d62d0e24ce49dc6e9815 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1383,7 +1383,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()); |
} |