Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index b3ff82a17777062e6f5cb3db18961a6665575b5b..fd89d576436a8ce34d6c578ad3779e24208aec21 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3163,7 +3163,8 @@ void MacroAssembler::CopyBytes(Register src, |
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); |
lbu(scratch, FieldMemOperand(map, Map::kBitField2Offset)); |
Branch(fail, hi, scratch, Operand(Map::kMaximumBitField2FastElementValue)); |
} |