Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index 2c95ad1a4837115c8e46b81f129961a424a21563..bf1818c3e6fd95bf908bde4f838ad80d753c7656 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -4592,8 +4592,7 @@ void InternalArrayConstructorStub::Generate(MacroAssembler* masm) { |
// but the following masking takes care of that anyway. |
__ mov(ecx, FieldOperand(ecx, Map::kBitField2Offset)); |
// Retrieve elements_kind from bit field 2. |
- __ and_(ecx, Map::kElementsKindMask); |
- __ shr(ecx, Map::kElementsKindShift); |
+ DecodeField<Map::ElementsKindBits>(ecx); |
if (FLAG_debug_code) { |
Label done; |