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 df48285993cc0dbdc060e51f749880aa4fecfbf1..3071b58e8e2d7ca849d3be0359ac08f46a5747d2 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.cc |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
@@ -541,9 +541,9 @@ TARGET_TEST_F(InterpreterAssemblerTest, SmiTag) { |
EXPECT_THAT(m.SmiTag(value), |
IsIntPtrConstant(static_cast<intptr_t>(44) |
<< (kSmiShiftSize + kSmiTagSize))); |
- EXPECT_THAT( |
- m.SmiUntag(value), |
- IsWordSar(value, IsIntPtrConstant(kSmiShiftSize + kSmiTagSize))); |
+ EXPECT_THAT(m.SmiUntag(value), |
+ IsWordSar(IsBitcastTaggedToWord(value), |
+ IsIntPtrConstant(kSmiShiftSize + kSmiTagSize))); |
} |
} |