Index: pkg/compiler/lib/src/cps_ir/redundant_refinement.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/redundant_refinement.dart b/pkg/compiler/lib/src/cps_ir/redundant_refinement.dart |
index cff47d64fa4b757bb1014327bec6827408541cc6..8cd13b3840ca2f4913e543d0c9d12f423b6ae8fe 100644 |
--- a/pkg/compiler/lib/src/cps_ir/redundant_refinement.dart |
+++ b/pkg/compiler/lib/src/cps_ir/redundant_refinement.dart |
@@ -28,7 +28,7 @@ import 'type_mask_system.dart'; |
/// Ideally, this pass should go away and GVN should handle refinements |
/// directly. |
class RedundantRefinementEliminator extends TrampolineRecursiveVisitor |
- implements Pass { |
+ implements Pass { |
String get passName => 'Redundant refinement elimination'; |
TypeMaskSystem typeSystem; |
@@ -45,7 +45,9 @@ class RedundantRefinementEliminator extends TrampolineRecursiveVisitor |
Refinement refinement = node.primitive; |
Primitive value = refinement.value.definition; |
if (typeSystem.isMorePreciseOrEqual(value.type, refinement.refineType)) { |
- refinement..replaceUsesWith(value)..destroy(); |
+ refinement |
+ ..replaceUsesWith(value) |
+ ..destroy(); |
node.remove(); |
return next; |
} |