| Index: test/cctest/compiler/test-pipeline.cc
|
| diff --git a/test/cctest/compiler/test-pipeline.cc b/test/cctest/compiler/test-pipeline.cc
|
| index e3710f77b48dabd50104fccd5b6f7661db50f0a8..b67af6ecf7d0047f45b1d689b3c3b1ca6fc02e9b 100644
|
| --- a/test/cctest/compiler/test-pipeline.cc
|
| +++ b/test/cctest/compiler/test-pipeline.cc
|
| @@ -17,13 +17,13 @@ using namespace v8::internal;
|
| using namespace v8::internal::compiler;
|
|
|
| TEST(PipelineAdd) {
|
| - InitializedHandleScope handles;
|
| + HandleAndZoneScope handles;
|
| const char* source = "(function(a,b) { return a + b; })";
|
| Handle<JSFunction> function = v8::Utils::OpenHandle(
|
| *v8::Handle<v8::Function>::Cast(CompileRun(source)));
|
| - CompilationInfoWithZone info(function);
|
| -
|
| - CHECK(Compiler::ParseAndAnalyze(info.parse_info()));
|
| + ParseInfo parse_info(handles.main_zone(), function);
|
| + CHECK(Compiler::ParseAndAnalyze(&parse_info));
|
| + CompilationInfo info(&parse_info);
|
|
|
| Pipeline pipeline(&info);
|
| #if V8_TURBOFAN_TARGET
|
|
|