Index: pkg/compiler/lib/src/js_backend/codegen/task.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/task.dart b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
index 89cf74c200ca98c655a7461c10752d06096165c7..3befc854bed4ab103be8ebf18f82d2c6628b5e93 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -117,13 +117,6 @@ class CpsFunctionCompiler implements FunctionCompiler { |
giveUp(irBuilderTask.bailoutMessage); |
} |
} |
- if (element.isInstanceMember && !element.isGenerativeConstructorBody) { |
- Selector selector = new Selector.fromElement(cpsNode.element); |
- if (glue.isInterceptedSelector(selector)) { |
- giveUp('cannot compile methods that need interceptor calling ' |
- 'convention.'); |
- } |
- } |
traceGraph("IR Builder", cpsNode); |
new UnsugarVisitor(glue).rewrite(cpsNode); |
traceGraph("Unsugaring", cpsNode); |