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 db85809856ceb6ad24979ad4863bfadf7143d86a..9c5756486eff1ed2e6fca8ce3444f81a32c980ea 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -110,13 +110,6 @@ class CpsFunctionCompiler implements FunctionCompiler { |
if (cpsNode == null) { |
giveUp('unable to build cps definition of $element'); |
} |
- 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); |