Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 01ee613bfde185e8304aa5e5a1ce27cc461f8c80..3869a3ef9ba326ddcd6568900845dfd8cc113c56 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -474,7 +474,8 @@ Reduction JSInliner::ReduceJSCall(Node* node, Handle<JSFunction> function) { |
} |
} |
- ParseInfo parse_info(shared_info); |
+ Zone zone(info_->isolate()->allocator(), ZONE_NAME); |
+ ParseInfo parse_info(&zone, shared_info); |
CompilationInfo info(&parse_info, Handle<JSFunction>::null()); |
if (info_->is_deoptimization_enabled()) info.MarkAsDeoptimizationEnabled(); |
info.MarkAsOptimizeFromBytecode(); |
@@ -513,7 +514,7 @@ Reduction JSInliner::ReduceJSCall(Node* node, Handle<JSFunction> function) { |
// Run the BytecodeGraphBuilder to create the subgraph. |
Graph::SubgraphScope scope(graph()); |
BytecodeGraphBuilder graph_builder( |
- parse_info.zone(), shared_info, handle(function->feedback_vector()), |
+ &zone, shared_info, handle(function->feedback_vector()), |
BailoutId::None(), jsgraph(), call.frequency(), source_positions_, |
inlining_id); |
graph_builder.CreateGraph(false); |