Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 5547ba25e86294c7838a7885f0374535f4afb76c..5695719b583d91ada5d5377c65f874b0e821c4e6 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -4952,8 +4952,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; |