| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index f9c28205341bf0985e860d5a99d4fb40ece28f8e..2782a0d828d80b2c61a85ea5aa086405061cb547 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -510,7 +510,8 @@ Reduction JSInliner::ReduceJSCall(Node* node, Handle<JSFunction> function) {
|
| // Remember that we inlined this function. This needs to be called right
|
| // after we ensure deoptimization support so that the code flusher
|
| // does not remove the code with the deoptimization support.
|
| - info_->AddInlinedFunction(shared_info);
|
| + int inlining_id = info_->AddInlinedFunction(
|
| + shared_info, source_positions_->GetSourcePosition(node));
|
|
|
| // ----------------------------------------------------------------
|
| // After this point, we've made a decision to inline this function.
|
| @@ -549,8 +550,9 @@ Reduction JSInliner::ReduceJSCall(Node* node, Handle<JSFunction> function) {
|
|
|
| // Run the AstGraphBuilder to create the subgraph.
|
| Graph::SubgraphScope scope(graph());
|
| - AstGraphBuilder graph_builder(&zone, &info, jsgraph(), call.frequency(),
|
| - loop_assignment, type_hint_analysis);
|
| + AstGraphBuilderWithPositions graph_builder(
|
| + &zone, &info, jsgraph(), call.frequency(), loop_assignment,
|
| + type_hint_analysis, source_positions_, inlining_id);
|
| graph_builder.CreateGraph(false);
|
|
|
| // Extract the inlinee start/end nodes.
|
|
|