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 cd21f095081c97bfc5e0bf97bfdc64016d43358a..1d85fb92011577d853936e38d4450cc1cb041103 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.cc |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
@@ -692,16 +692,14 @@ TARGET_TEST_F(InterpreterAssemblerTest, LoadTypeFeedbackVector) { |
m.IsLoad(MachineType::AnyTagged(), IsLoadParentFramePointer(), |
IsIntPtrConstant(Register::function_closure().ToOperand() |
<< kPointerSizeLog2)); |
- 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))); |
+ 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))); |
} |
} |