Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 7b3028fbe6586694e36747058cee2cd48aeeb697..0e01836f5328ed21922e6b24d4257bac298e2817 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -3946,7 +3946,7 @@ void MacroAssembler::JumpIfDictionaryInPrototypeChain( |
bind(&loop_again); |
ldr(current, FieldMemOperand(current, HeapObject::kMapOffset)); |
ldr(scratch1, FieldMemOperand(current, Map::kBitField2Offset)); |
- Ubfx(scratch1, scratch1, Map::kElementsKindShift, Map::kElementsKindBitCount); |
+ DecodeField<Map::ElementsKindBits>(scratch1); |
cmp(scratch1, Operand(DICTIONARY_ELEMENTS)); |
b(eq, found); |
ldr(current, FieldMemOperand(current, Map::kPrototypeOffset)); |