Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 1df02284343d0ce369bb66fa22d2c195f4942c44..2b15553f17ed35a5eeb560296e2e9b7d56ff324a 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -385,6 +385,9 @@ void MacroAssembler::AssertFastElements(Register elements) { |
Heap::kFixedArrayMapRootIndex); |
j(equal, &ok, Label::kNear); |
CompareRoot(FieldOperand(elements, HeapObject::kMapOffset), |
+ Heap::kFixedDoubleArrayMapRootIndex); |
+ j(equal, &ok, Label::kNear); |
+ CompareRoot(FieldOperand(elements, HeapObject::kMapOffset), |
Heap::kFixedCOWArrayMapRootIndex); |
j(equal, &ok, Label::kNear); |
Abort("JSObject with fast elements map has slow elements"); |