Index: runtime/vm/aot_optimizer.h |
diff --git a/runtime/vm/aot_optimizer.h b/runtime/vm/aot_optimizer.h |
index 2b8938db9eaffc56feca959b914f6afba526b215..16e879e30040e238ddd623b5de827409a75ed03f 100644 |
--- a/runtime/vm/aot_optimizer.h |
+++ b/runtime/vm/aot_optimizer.h |
@@ -28,6 +28,10 @@ class AotOptimizer : public FlowGraphVisitor { |
FlowGraph* flow_graph() const { return flow_graph_; } |
+ // Add ICData to InstanceCalls, so that optimizations can be run on them. |
+ // TODO(srdjan): StaticCals as well? |
+ void PopulateWithICData(); |
+ |
// Use ICData to optimize, replace or eliminate instructions. |
void ApplyICData(); |