Index: test/cctest/compiler/test-linkage.cc |
diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc |
index fbf9237249b7911e42d8e910d30b62b815b41ac9..0c8e961166da6ba15cd9b6016c7203e2bb5f8764 100644 |
--- a/test/cctest/compiler/test-linkage.cc |
+++ b/test/cctest/compiler/test-linkage.cc |
@@ -74,9 +74,10 @@ TEST(TestLinkageJSFunctionIncoming) { |
TEST(TestLinkageCodeStubIncoming) { |
Isolate* isolate = CcTest::InitIsolateOnce(); |
+ Zone zone; |
ToNumberStub stub(isolate); |
- CompilationInfoWithZone info(&stub, isolate); |
- CallDescriptor* descriptor = Linkage::ComputeIncoming(info.zone(), &info); |
+ CompilationInfo info(&stub, isolate, &zone); |
+ CallDescriptor* descriptor = Linkage::ComputeIncoming(&zone, &info); |
CHECK(descriptor); |
CHECK_EQ(1, static_cast<int>(descriptor->JSParameterCount())); |
CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount())); |