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 5419818a9394043bbce7ddbb22086946255fd7b5..763fbbe04e946e29ba9befd02fd6100def56a233 100644 |
--- a/test/unittests/compiler/interpreter-assembler-unittest.cc |
+++ b/test/unittests/compiler/interpreter-assembler-unittest.cc |
@@ -683,14 +683,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))); |
} |
} |