| Index: runtime/vm/flow_graph_inliner.h
|
| diff --git a/runtime/vm/flow_graph_inliner.h b/runtime/vm/flow_graph_inliner.h
|
| index c4d8ca21332dcf830dfc25ec6eda72bdbe5261d4..ade98b5db113a8b95dc7d8fcf20f336bbd7ae149 100644
|
| --- a/runtime/vm/flow_graph_inliner.h
|
| +++ b/runtime/vm/flow_graph_inliner.h
|
| @@ -21,6 +21,7 @@ class FlowGraphInliner : ValueObject {
|
| public:
|
| FlowGraphInliner(FlowGraph* flow_graph,
|
| GrowableArray<const Function*>* inline_id_to_function,
|
| + GrowableArray<TokenPosition>* inline_id_to_token_pos,
|
| GrowableArray<intptr_t>* caller_inline_id,
|
| bool use_speculative_inlining,
|
| GrowableArray<intptr_t>* inlining_black_list);
|
| @@ -35,7 +36,9 @@ class FlowGraphInliner : ValueObject {
|
| bool AlwaysInline(const Function& function);
|
|
|
| FlowGraph* flow_graph() const { return flow_graph_; }
|
| - intptr_t NextInlineId(const Function& function, intptr_t caller_id);
|
| + intptr_t NextInlineId(const Function& function,
|
| + TokenPosition tp,
|
| + intptr_t caller_id);
|
|
|
| bool trace_inlining() const { return trace_inlining_; }
|
|
|
| @@ -54,6 +57,7 @@ class FlowGraphInliner : ValueObject {
|
|
|
| FlowGraph* flow_graph_;
|
| GrowableArray<const Function*>* inline_id_to_function_;
|
| + GrowableArray<TokenPosition>* inline_id_to_token_pos_;
|
| GrowableArray<intptr_t>* caller_inline_id_;
|
| const bool trace_inlining_;
|
| const bool use_speculative_inlining_;
|
|
|