| 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 0fab029d565c462b82d2bd9a573a4616dbc20170..9f70522ae1a06a72f8d191f85bc8f7a35df55b87 100644
|
| --- a/test/unittests/compiler/interpreter-assembler-unittest.cc
|
| +++ b/test/unittests/compiler/interpreter-assembler-unittest.cc
|
| @@ -564,10 +564,11 @@ TARGET_TEST_F(InterpreterAssemblerTest, CallJS) {
|
| Node* first_arg = m.Int32Constant(1);
|
| Node* arg_count = m.Int32Constant(2);
|
| Node* call_js = m.CallJS(function, first_arg, arg_count);
|
| - EXPECT_THAT(
|
| - call_js,
|
| - m.IsCall(_, IsHeapConstant(builtin.code()), arg_count, first_arg,
|
| - function, IsParameter(Linkage::kInterpreterContextParameter)));
|
| + Matcher<Node*> context =
|
| + m.IsLoad(kMachAnyTagged, function,
|
| + IsIntPtrConstant(JSFunction::kContextOffset - kHeapObjectTag));
|
| + EXPECT_THAT(call_js, m.IsCall(_, IsHeapConstant(builtin.code()), arg_count,
|
| + first_arg, function, context));
|
| }
|
| }
|
|
|
|
|