Index: test/unittests/compiler/interpreter-assembler-unittest.cc |
diff --git a/test/unittests/compiler/interpreter-assembler-unittest.cc b/test/unittests/compiler/interpreter-assembler-unittest.cc |
index 5b9817a4c587bc53debb412fb1a08e79058ec15d..f7560360aff81b0b5e9912b7f7b6b4bfa9f7187a 100644 |
--- a/test/unittests/compiler/interpreter-assembler-unittest.cc |
+++ b/test/unittests/compiler/interpreter-assembler-unittest.cc |
@@ -687,14 +687,16 @@ |
IsParameter(Linkage::kInterpreterRegisterFileParameter), |
IsIntPtrConstant( |
InterpreterFrameConstants::kFunctionFromRegisterPointer)); |
- Matcher<Node*> load_literals_matcher = m.IsLoad( |
- MachineType::AnyTagged(), load_function_matcher, |
- IsIntPtrConstant(JSFunction::kLiteralsOffset - kHeapObjectTag)); |
- |
- EXPECT_THAT(feedback_vector, |
- m.IsLoad(MachineType::AnyTagged(), load_literals_matcher, |
- IsIntPtrConstant(LiteralsArray::kFeedbackVectorOffset - |
- kHeapObjectTag))); |
+ Matcher<Node*> load_shared_function_info_matcher = |
+ m.IsLoad(MachineType::AnyTagged(), load_function_matcher, |
+ IsIntPtrConstant(JSFunction::kSharedFunctionInfoOffset - |
+ kHeapObjectTag)); |
+ |
+ EXPECT_THAT( |
+ feedback_vector, |
+ m.IsLoad(MachineType::AnyTagged(), load_shared_function_info_matcher, |
+ IsIntPtrConstant(SharedFunctionInfo::kFeedbackVectorOffset - |
+ kHeapObjectTag))); |
} |
} |