Index: test/cctest/compiler/test-linkage.cc |
diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc |
index 25a00a5b10b172cca3bf45ad7beeca9821000bfd..49e9830c5e4ad8ad3ff19885e1cc400bf4be1273 100644 |
--- a/test/cctest/compiler/test-linkage.cc |
+++ b/test/cctest/compiler/test-linkage.cc |
@@ -44,7 +44,8 @@ TEST(TestLinkageCreate) { |
HandleAndZoneScope handles; |
Handle<JSFunction> function = Compile("a + b"); |
ParseInfo parse_info(handle(function->shared())); |
- CompilationInfo info(&parse_info, function); |
+ Zone compile_zone(function->GetIsolate()->allocator(), ZONE_NAME); |
+ CompilationInfo info(&compile_zone, &parse_info, function); |
CallDescriptor* descriptor = Linkage::ComputeIncoming(info.zone(), &info); |
CHECK(descriptor); |
} |
@@ -60,7 +61,8 @@ TEST(TestLinkageJSFunctionIncoming) { |
Handle<JSFunction>::cast(v8::Utils::OpenHandle( |
*v8::Local<v8::Function>::Cast(CompileRun(sources[i])))); |
ParseInfo parse_info(handle(function->shared())); |
- CompilationInfo info(&parse_info, function); |
+ Zone compile_zone(function->GetIsolate()->allocator(), ZONE_NAME); |
+ CompilationInfo info(&compile_zone, &parse_info, function); |
CallDescriptor* descriptor = Linkage::ComputeIncoming(info.zone(), &info); |
CHECK(descriptor); |
@@ -76,7 +78,8 @@ TEST(TestLinkageJSCall) { |
HandleAndZoneScope handles; |
Handle<JSFunction> function = Compile("a + c"); |
ParseInfo parse_info(handle(function->shared())); |
- CompilationInfo info(&parse_info, function); |
+ Zone compile_zone(function->GetIsolate()->allocator(), ZONE_NAME); |
+ CompilationInfo info(&compile_zone, &parse_info, function); |
for (int i = 0; i < 32; i++) { |
CallDescriptor* descriptor = Linkage::GetJSCallDescriptor( |