Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 7f5a81cd3803756ad29877a27b596462bd884e51..a77fd922f5b930194fa57c9e7b4a2acd2ce5daee 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1859,7 +1859,8 @@ void MacroAssembler::CompareRoot(Register obj, |
void MacroAssembler::CheckFastElements(Register map, |
Register scratch, |
Label* fail) { |
- STATIC_ASSERT(FAST_ELEMENTS == 0); |
+ STATIC_ASSERT(FAST_SMI_ONLY_ELEMENTS == 0); |
+ STATIC_ASSERT(FAST_ELEMENTS == 1); |
ldrb(scratch, FieldMemOperand(map, Map::kBitField2Offset)); |
cmp(scratch, Operand(Map::kMaximumBitField2FastElementValue)); |
b(hi, fail); |