Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 136b24c981107af184e2b78cb8af7d8b2aa7e9c1..3e037d79aca20ed2e94727b3eaf357ccecc92239 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2044,6 +2044,9 @@ void MacroAssembler::AssertFastElements(Register elements) { |
Immediate(factory->fixed_array_map())); |
j(equal, &ok); |
cmp(FieldOperand(elements, HeapObject::kMapOffset), |
+ Immediate(factory->fixed_double_array_map())); |
+ j(equal, &ok); |
+ cmp(FieldOperand(elements, HeapObject::kMapOffset), |
Immediate(factory->fixed_cow_array_map())); |
j(equal, &ok); |
Abort("JSObject with fast elements map has slow elements"); |