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 b7e15a98ca02498eefe234eff55914e78b2712cd..b4dfc4a59bad4918effffdd9c40f2c73bde4c6e9 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), |