Index: test/unittests/interpreter/interpreter-assembler-unittest.cc |
diff --git a/test/unittests/interpreter/interpreter-assembler-unittest.cc b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
index 25b306e35924e8bb8d6593698bd791ff5ecb66ce..cd21f095081c97bfc5e0bf97bfdc64016d43358a 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.cc |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
@@ -520,9 +520,9 @@ TARGET_TEST_F(InterpreterAssemblerTest, SmiTag) { |
TRACED_FOREACH(interpreter::Bytecode, bytecode, kBytecodes) { |
InterpreterAssemblerForTest m(this, bytecode); |
Node* value = m.Int32Constant(44); |
- EXPECT_THAT( |
- m.SmiTag(value), |
- IsWordShl(value, IsIntPtrConstant(kSmiShiftSize + kSmiTagSize))); |
+ EXPECT_THAT(m.SmiTag(value), |
+ IsIntPtrConstant(static_cast<intptr_t>(44) |
+ << (kSmiShiftSize + kSmiTagSize))); |
EXPECT_THAT( |
m.SmiUntag(value), |
IsWordSar(value, IsIntPtrConstant(kSmiShiftSize + kSmiTagSize))); |