Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 14740005: Initial support for polymorphic inlining. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated review comments. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698