Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 6c9c19f58e5f3d678fa40ba9765577ec0282ebc6..af65a65465981af15cf716bf966eda88f83761f8 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1027,7 +1027,7 @@ class MacroAssembler: public Assembler { |
static const int shift = Field::kShift + kSmiShift; |
static const int mask = Field::kMask >> Field::kShift; |
shr(reg, Immediate(shift)); |
- and_(reg, Immediate(mask)); |
+ andp(reg, Immediate(mask)); |
shl(reg, Immediate(kSmiShift)); |
} |