Index: pkg/compiler/lib/src/ssa/builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart |
index 5001bdbf06e3514429536423528f681e8a367218..1b10d11747a3667c5634b564ec74b0c223321761 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -3442,7 +3442,8 @@ class SsaBuilder extends ResolvedVisitor { |
if (backend.hasDirectCheckFor(type)) { |
return new HIs.direct(type, expression, backend.boolType); |
} |
- // TODO(johnniwinther): Avoid interceptor if unneeded. |
+ // The interceptor is not always needed. It is removed by optimization |
+ // when the receiver type or tested type permit. |
return new HIs.raw( |
type, expression, invokeInterceptor(expression), backend.boolType); |
} |