Index: test/cctest/compiler/function-tester.cc |
diff --git a/test/cctest/compiler/function-tester.cc b/test/cctest/compiler/function-tester.cc |
index c88713a6dcfc7ec5a36a4939949278262cb4efa4..0006db0d071cde00786daff7da9668264780b500 100644 |
--- a/test/cctest/compiler/function-tester.cc |
+++ b/test/cctest/compiler/function-tester.cc |
@@ -155,8 +155,7 @@ |
} |
Handle<JSFunction> FunctionTester::Compile(Handle<JSFunction> function) { |
- Zone zone(function->GetIsolate()->allocator(), ZONE_NAME); |
- ParseInfo parse_info(&zone, handle(function->shared())); |
+ ParseInfo parse_info(handle(function->shared())); |
CompilationInfo info(&parse_info, function); |
info.SetOptimizing(); |
@@ -185,8 +184,7 @@ |
// Compile the given machine graph instead of the source of the function |
// and replace the JSFunction's code with the result. |
Handle<JSFunction> FunctionTester::CompileGraph(Graph* graph) { |
- Zone zone(function->GetIsolate()->allocator(), ZONE_NAME); |
- ParseInfo parse_info(&zone, handle(function->shared())); |
+ ParseInfo parse_info(handle(function->shared())); |
CompilationInfo info(&parse_info, function); |
CHECK(parsing::ParseFunction(info.parse_info())); |