| Index: runtime/vm/flow_graph_optimizer.h
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.h (revision 13794)
|
| +++ runtime/vm/flow_graph_optimizer.h (working copy)
|
| @@ -20,8 +20,12 @@
|
| flow_graph_(flow_graph) { }
|
| virtual ~FlowGraphOptimizer() {}
|
|
|
| + // Use ICData to optimize, replace or eliminate instructions.
|
| void ApplyICData();
|
|
|
| + // Use propagated class ids to optimize, replace or eliminate instructions.
|
| + void ApplyClassIds();
|
| +
|
| void OptimizeComputations();
|
|
|
| void EliminateDeadPhis();
|
| @@ -44,6 +48,9 @@
|
| Definition::UseKind use_kind);
|
|
|
| private:
|
| + // Attempt to build ICData for call using propagated class-ids.
|
| + bool TryCreateICData(InstanceCallInstr* call);
|
| +
|
| intptr_t PrepareIndexedOp(InstanceCallInstr* call,
|
| intptr_t class_id,
|
| Value** array,
|
|
|