Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 49282b87199fb7ef816f188ab6bd3b9a239fffb5..3eb99c41aac134ea4966b527efdb4ce391e3da02 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1719,7 +1719,7 @@ void MacroAssembler::CheckFastElements(Register map, |
Register scratch, |
Label* fail) { |
STATIC_ASSERT(JSObject::FAST_ELEMENTS == 0); |
- ldrb(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset)); |
+ ldrb(scratch, FieldMemOperand(map, Map::kBitField2Offset)); |
cmp(scratch, Operand(Map::kMaximumBitField2FastElementValue)); |
b(hi, fail); |
} |