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 9fdb7f51e617441698c30e02b0572e86c8e6eb42..efab2c0db7f375a6a4b6075a5e428350f2ec2610 100644 |
--- a/test/unittests/compiler/interpreter-assembler-unittest.cc |
+++ b/test/unittests/compiler/interpreter-assembler-unittest.cc |
@@ -154,9 +154,8 @@ TARGET_TEST_F(InterpreterAssemblerTest, Return) { |
EXPECT_EQ(CallDescriptor::kCallCodeObject, m.call_descriptor()->kind()); |
EXPECT_TRUE(m.call_descriptor()->flags() & CallDescriptor::kCanUseRoots); |
- Matcher<Unique<HeapObject>> exit_trampoline( |
- Unique<HeapObject>::CreateImmovable( |
- isolate()->builtins()->InterpreterExitTrampoline())); |
+ Handle<HeapObject> exit_trampoline = |
+ isolate()->builtins()->InterpreterExitTrampoline(); |
EXPECT_THAT( |
tail_call_node, |
IsTailCall(m.call_descriptor(), IsHeapConstant(exit_trampoline), |