Index: runtime/vm/flow_graph_compiler.h |
diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h |
index 4c7204a91e5678760afdf589f3ea8690e5a1bc16..98c853a7648678b7692c0e7c422a0408d932f4f6 100644 |
--- a/runtime/vm/flow_graph_compiler.h |
+++ b/runtime/vm/flow_graph_compiler.h |
@@ -452,6 +452,10 @@ class FlowGraphCompiler : public ValueObject { |
Register array, |
Register index); |
+ // Returns 'sorted' array in decreasing count order. |
+ static void SortICDataByCount(const ICData& ic_data, |
+ GrowableArray<CidTarget>* sorted); |
+ |
private: |
friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_. |
@@ -541,11 +545,6 @@ class FlowGraphCompiler : public ValueObject { |
return block_order_.length() - index - 1; |
} |
- // Returns 'sorted' array in decreasing count order. |
- // The expected number of elements to sort is less than 10. |
- static void SortICDataByCount(const ICData& ic_data, |
- GrowableArray<CidTarget>* sorted); |
- |
void CompactBlock(BlockEntryInstr* block); |
void CompactBlocks(); |