Index: lib/compiler/implementation/ssa/nodes.dart |
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart |
index 38d94e52371636cce5e4a3b41703e16e48a78331..935d56e48aabe7eadd09cb0323fde6bf0260bb64 100644 |
--- a/lib/compiler/implementation/ssa/nodes.dart |
+++ b/lib/compiler/implementation/ssa/nodes.dart |
@@ -975,6 +975,10 @@ class HInstruction implements Hashable { |
current = current.next; |
} |
} |
+ // Phis are before [other] too. |
kasperl
2012/08/06 10:31:03
Newline before this (to match the rest of the meth
floitsch
2012/08/06 14:05:27
Done.
|
+ for (HPhi phi = otherBlock.phis.first; phi != null; phi = phi.next) { |
kasperl
2012/08/06 10:31:03
!== null
floitsch
2012/08/06 14:05:27
Done.
|
+ users.remove(phi); |
+ } |
return users; |
} |