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 7dd449e8ba20d4a485755e0fa07be94336593a2a..7b0ce275cdd7be110d1b98a396ef29bbc25d8441 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.cc |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
@@ -725,11 +725,13 @@ TARGET_TEST_F(InterpreterAssemblerTest, LoadTypeFeedbackVector) { |
m.IsLoad(MachineType::AnyTagged(), IsLoadParentFramePointer(), |
IsIntPtrConstant(Register::function_closure().ToOperand() |
<< kPointerSizeLog2)); |
- |
- EXPECT_THAT(feedback_vector, |
- m.IsLoad(MachineType::AnyTagged(), load_function_matcher, |
- IsIntPtrConstant(JSFunction::kFeedbackVectorOffset - |
- kHeapObjectTag))); |
+ Matcher<Node*> load_vector_cell_matcher = m.IsLoad( |
+ MachineType::AnyTagged(), load_function_matcher, |
+ IsIntPtrConstant(JSFunction::kFeedbackVectorOffset - kHeapObjectTag)); |
+ EXPECT_THAT( |
+ feedback_vector, |
+ m.IsLoad(MachineType::AnyTagged(), load_vector_cell_matcher, |
+ IsIntPtrConstant(Cell::kValueOffset - kHeapObjectTag))); |
} |
} |