Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 482f95fa564f15c9cfe21c5ab5f651655d087c37..61adcc4f878e0a86a7c310ba08a8e7efe10a56a7 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -549,8 +549,7 @@ |
} |
} |
- Zone zone(info_->isolate()->allocator(), ZONE_NAME); |
- ParseInfo parse_info(&zone, shared_info); |
+ ParseInfo parse_info(shared_info); |
CompilationInfo info(&parse_info, Handle<JSFunction>::null()); |
if (info_->is_deoptimization_enabled()) info.MarkAsDeoptimizationEnabled(); |
info.MarkAsOptimizeFromBytecode(); |
@@ -591,8 +590,8 @@ |
// Run the BytecodeGraphBuilder to create the subgraph. |
Graph::SubgraphScope scope(graph()); |
BytecodeGraphBuilder graph_builder( |
- &zone, shared_info, feedback_vector, BailoutId::None(), jsgraph(), |
- call.frequency(), source_positions_, inlining_id); |
+ parse_info.zone(), shared_info, feedback_vector, BailoutId::None(), |
+ jsgraph(), call.frequency(), source_positions_, inlining_id); |
graph_builder.CreateGraph(false); |
// Extract the inlinee start/end nodes. |