| Index: runtime/vm/flow_graph.h
|
| diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
|
| index 8a1b5c6addef3bd4ade54bd3f9ea2a514be4b0c0..544dfacdfbb14677a45dc3e16c9dbbc2830feedd 100644
|
| --- a/runtime/vm/flow_graph.h
|
| +++ b/runtime/vm/flow_graph.h
|
| @@ -285,6 +285,12 @@ class FlowGraph : public ZoneAllocated {
|
| // Merge instructions (only per basic-block).
|
| void TryOptimizePatterns();
|
|
|
| + // Replaces uses that are dominated by dom of 'def' with 'other'.
|
| + // Note: uses that occur at instruction dom itself are not dominated by it.
|
| + static void RenameDominatedUses(Definition* def,
|
| + Instruction* dom,
|
| + Definition* other);
|
| +
|
| private:
|
| friend class IfConverter;
|
| friend class BranchSimplifier;
|
|
|