Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 6873efff67d39f7a948b634b24c4f9c768a79c30..52b3839154dcf6dd63e2c40df99a9ccaadfa8fed 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -5192,8 +5192,7 @@ void MacroAssembler::JumpIfDictionaryInPrototypeChain( |
bind(&loop_again); |
movp(current, FieldOperand(current, HeapObject::kMapOffset)); |
movp(scratch1, FieldOperand(current, Map::kBitField2Offset)); |
- andp(scratch1, Immediate(Map::kElementsKindMask)); |
- shrp(scratch1, Immediate(Map::kElementsKindShift)); |
+ DecodeField<Map::ElementsKindBits>(scratch1); |
cmpp(scratch1, Immediate(DICTIONARY_ELEMENTS)); |
j(equal, found); |
movp(current, FieldOperand(current, Map::kPrototypeOffset)); |