Index: test/cctest/compiler/function-tester.cc |
diff --git a/test/cctest/compiler/function-tester.cc b/test/cctest/compiler/function-tester.cc |
index 0006db0d071cde00786daff7da9668264780b500..f6e9fe83071aaa1d48fece869a16a959bb6c122b 100644 |
--- a/test/cctest/compiler/function-tester.cc |
+++ b/test/cctest/compiler/function-tester.cc |
@@ -156,7 +156,8 @@ Handle<JSFunction> FunctionTester::ForMachineGraph(Graph* graph, |
Handle<JSFunction> FunctionTester::Compile(Handle<JSFunction> function) { |
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); |
info.SetOptimizing(); |
info.MarkAsDeoptimizationEnabled(); |
@@ -185,7 +186,8 @@ Handle<JSFunction> FunctionTester::Compile(Handle<JSFunction> function) { |
// and replace the JSFunction's code with the result. |
Handle<JSFunction> FunctionTester::CompileGraph(Graph* graph) { |
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); |
CHECK(parsing::ParseFunction(info.parse_info())); |
info.SetOptimizing(); |