| Index: runtime/vm/flow_graph_compiler.h
|
| diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h
|
| index 783c851bb4cf63ee52c11a3f56041d9c8bf202a4..3151009d9b2853b204811f222ed7276ca05177c2 100644
|
| --- a/runtime/vm/flow_graph_compiler.h
|
| +++ b/runtime/vm/flow_graph_compiler.h
|
| @@ -387,11 +387,7 @@ class FlowGraphCompiler : public ValueObject {
|
|
|
| bool NeedsEdgeCounter(TargetEntryInstr* block);
|
|
|
| - void EmitEdgeCounter();
|
| -
|
| -#if !defined(TARGET_ARCH_ARM64) && !defined(TARGET_ARCH_MIPS)
|
| - static int32_t EdgeCounterIncrementSizeInBytes();
|
| -#endif // !TARGET_ARCH_ARM64 && !TARGET_ARCH_MIPS
|
| + void EmitEdgeCounter(intptr_t edge_id);
|
|
|
| void EmitOptimizedInstanceCall(const StubEntry& stub_entry,
|
| const ICData& ic_data,
|
| @@ -537,6 +533,10 @@ class FlowGraphCompiler : public ValueObject {
|
| return inlined_code_intervals_;
|
| }
|
|
|
| + RawArray* edge_counters_array() const {
|
| + return edge_counters_array_.raw();
|
| + }
|
| +
|
| RawArray* InliningIdToFunction() const;
|
|
|
| RawArray* CallerInliningIdMap() const;
|
| @@ -731,6 +731,8 @@ class FlowGraphCompiler : public ValueObject {
|
|
|
| ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
|
|
|
| + Array& edge_counters_array_;
|
| +
|
| Array& inlined_code_intervals_;
|
| const GrowableArray<const Function*>& inline_id_to_function_;
|
| const GrowableArray<intptr_t>& caller_inline_id_;
|
|
|