Index: sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
index 6333b0e147d6325fa4013090c8fdf40c83f7f00c..7472118d1c44b32d6136ff969d0c414e6dd70ad2 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
@@ -751,7 +751,7 @@ class SsaDeadCodeEliminator extends HGraphVisitor implements OptimizationPhase { |
return !instruction.hasSideEffects(types) |
&& instruction.usedBy.isEmpty |
// A dynamic getter that has no side effect can still throw |
- // a NoSuchMethodError or a NullPointerException. |
+ // a NoSuchMethodError. |
&& instruction is !HInvokeDynamicGetter |
&& instruction is !HCheck |
&& instruction is !HTypeGuard |