| Index: test/cctest/compiler/function-tester.h
|
| diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h
|
| index 631bdde5ceac72435d199dc52c7f84728ed2fb7d..e1e63359246cd521cb6530d06f4e793d111f0c77 100644
|
| --- a/test/cctest/compiler/function-tester.h
|
| +++ b/test/cctest/compiler/function-tester.h
|
| @@ -177,7 +177,7 @@ class FunctionTester : public InitializedHandleScope {
|
| Handle<JSFunction> Compile(Handle<JSFunction> function) {
|
| Zone zone(function->GetIsolate()->allocator());
|
| ParseInfo parse_info(&zone, function);
|
| - CompilationInfo info(&parse_info);
|
| + CompilationInfo info(&parse_info, function);
|
| info.MarkAsDeoptimizationEnabled();
|
|
|
| CHECK(Parser::ParseStatic(info.parse_info()));
|
| @@ -226,7 +226,7 @@ class FunctionTester : public InitializedHandleScope {
|
| Handle<JSFunction> CompileGraph(Graph* graph) {
|
| Zone zone(function->GetIsolate()->allocator());
|
| ParseInfo parse_info(&zone, function);
|
| - CompilationInfo info(&parse_info);
|
| + CompilationInfo info(&parse_info, function);
|
|
|
| CHECK(Parser::ParseStatic(info.parse_info()));
|
| info.SetOptimizing();
|
|
|