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 0106c577bd90646341070b5a61682a969ba20dc3..3422b23ecbd3ae37f737f0927aa0ad5f672af20a 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.cc |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
@@ -464,10 +464,13 @@ TARGET_TEST_F(InterpreterAssemblerTest, InterpreterReturn) { |
Handle<HeapObject> exit_trampoline = |
isolate()->builtins()->InterpreterExitTrampoline(); |
+ Matcher<Node*> exit_trampoline_entry_matcher = |
+ IsIntPtrAdd(IsHeapConstant(exit_trampoline), |
+ IsIntPtrConstant(Code::kHeaderSize - kHeapObjectTag)); |
EXPECT_THAT( |
tail_call_node, |
IsTailCall( |
- _, IsHeapConstant(exit_trampoline), |
+ _, exit_trampoline_entry_matcher, |
IsParameter(InterpreterDispatchDescriptor::kAccumulatorParameter), |
IsParameter(InterpreterDispatchDescriptor::kRegisterFileParameter), |
IsParameter( |