Index: test/cctest/compiler/test-codegen-deopt.cc |
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc |
index 925ede9f5cd5ca26663a3cf1517e7c30ca0ddd4b..9c12cb2dbde299dfb304a135d9cfacec2cd987f3 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -44,8 +44,8 @@ class DeoptCodegenTester { |
explicit DeoptCodegenTester(HandleAndZoneScope* scope, const char* src) |
: scope_(scope), |
function(NewFunction(src)), |
- parse_info(scope->main_zone()), |
- info(parse_info.InitializeFromJSFunction(function)), |
+ parse_info(scope->main_zone(), function), |
+ info(&parse_info), |
bailout_id(-1) { |
CHECK(Parser::ParseStatic(&parse_info)); |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |