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 53afb35a12a2305c77d562d5bfe7060129004b01..d8526606b0d7ce4842b964746e94b8efd8baf840 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.cc |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
@@ -538,9 +538,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), |
- IsIntPtrConstant(static_cast<intptr_t>(44) |
- << (kSmiShiftSize + kSmiTagSize))); |
+ EXPECT_THAT(m.SmiTag(value), IsBitcastWordToTaggedSigned(IsIntPtrConstant( |
+ static_cast<intptr_t>(44) |
+ << (kSmiShiftSize + kSmiTagSize)))); |
EXPECT_THAT(m.SmiUntag(value), |
IsWordSar(IsBitcastTaggedToWord(value), |
IsIntPtrConstant(kSmiShiftSize + kSmiTagSize))); |