Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 25009) |
+++ sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy) |
@@ -620,6 +620,7 @@ |
* information on [to], and that dominates the user. |
*/ |
void rewriteWithBetterUser(HInstruction from, HInstruction to) { |
+ // BUG(11841): Turn this method into a phase to be run after GVN phases. |
Link<HCheck> better = const Link<HCheck>(); |
for (HInstruction user in to.usedBy) { |
if (user == from || user is! HCheck) continue; |