Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index f8c2401323b7c5be32c3a05b5949ab21fe5bf473..0b0c7eba89a5b7dde8ab89e04713017a6b13baf1 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -500,7 +500,7 @@ class MacroAssembler: public Assembler { |
template<typename Field> |
void DecodeField(Register reg) { |
static const int shift = Field::kShift; |
- static const int mask = (Field::kMask >> Field::kShift) << kSmiTagSize; |
+ static const int mask = Field::kMask >> Field::kShift; |
sar(reg, shift); |
and_(reg, Immediate(mask)); |
} |