Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1532)

Unified Diff: pkg/compiler/lib/src/js_backend/codegen/task.dart

Issue 1020243002: cps_ir: interceptor calling convention, operator== prologue (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698