Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 13e67a3f966f6ff788b1bd9039a7d58d17fa8d3f..02d798cae379811ec82a74d28feedc53080390cb 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -5627,7 +5627,7 @@ void MacroAssembler::JumpIfDictionaryInPrototypeChain( |
bind(&loop_again); |
lw(current, FieldMemOperand(current, HeapObject::kMapOffset)); |
lb(scratch1, FieldMemOperand(current, Map::kBitField2Offset)); |
- Ext(scratch1, scratch1, Map::kElementsKindShift, Map::kElementsKindBitCount); |
+ DecodeField<Map::ElementsKindBits>(scratch1); |
Branch(found, eq, scratch1, Operand(DICTIONARY_ELEMENTS)); |
lw(current, FieldMemOperand(current, Map::kPrototypeOffset)); |
Branch(&loop_again, ne, current, Operand(factory->null_value())); |