Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 56dc0a9e732beb1b68f74e6aa3d25e1985a05c3f..20efd1e304ad26096d2c94c4daf3b57c186b0b50 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -150,7 +150,9 @@ class FunctionTester : public InitializedHandleScope { |
Handle<JSFunction> Compile(Handle<JSFunction> function) { |
// TODO(titzer): make this method private. |
#if V8_TURBOFAN_TARGET |
- CompilationInfoWithZone info(function); |
+ Zone zone; |
+ ParseInfo parse_info(&zone, function); |
+ CompilationInfo info(&parse_info); |
CHECK(Parser::ParseStatic(info.parse_info())); |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
@@ -206,7 +208,9 @@ class FunctionTester : public InitializedHandleScope { |
// and replace the JSFunction's code with the result. |
Handle<JSFunction> CompileGraph(Graph* graph) { |
CHECK(Pipeline::SupportedTarget()); |
- CompilationInfoWithZone info(function); |
+ Zone zone; |
+ ParseInfo parse_info(&zone, function); |
+ CompilationInfo info(&parse_info); |
CHECK(Parser::ParseStatic(info.parse_info())); |
info.SetOptimizing(BailoutId::None(), |