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

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart

Issue 1120633002: Refactor index operator in SimpleTypeInferrer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 5 years, 7 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
index 5252b0f04a9c175cd6def2a89af33c1f407aa0b4..25d0f157ab1988f59e1497d75ecbb399c0b1bc66 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
@@ -1711,6 +1711,62 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
}
@override
+ ir.Primitive handleUnresolvedSuperGetterIndexPostfixPrefix(
+ ast.Send node,
+ Element element,
+ ast.Node index,
+ op.IncDecOperator operator,
+ arg,
+ {bool isPrefix}) {
+ return giveup(node, 'handleSuperUnresolvedGetterIndexPostfixPrefix');
+ }
+
+ @override
+ ir.Primitive handleUnresolvedSuperSetterIndexPostfixPrefix(
+ ast.Send node,
+ FunctionElement indexFunction,
+ Element element,
+ ast.Node index,
+ op.IncDecOperator operator,
+ arg,
+ {bool isPrefix}) {
+ return giveup(node, 'handleSuperUnresolvedGetterIndexPostfixPrefix');
+ }
+
+ @override
+ ir.Primitive visitUnresolvedSuperGetterCompoundIndexSet(
+ ast.Send node,
+ Element element,
+ ast.Node index,
+ op.AssignmentOperator operator,
+ ast.Node rhs,
+ arg) {
+ return giveup(node, 'visitUnresolvedSuperGetterCompoundIndexSet');
+ }
+
+ @override
+ ir.Primitive visitUnresolvedSuperIndexSet(
+ ast.Send node,
+ Element element,
+ ast.Node index,
+ ast.Node rhs,
+ arg) {
+ return giveup(node, 'visitUnresolvedSuperIndexSet');
+ }
+
+ @override
+ ir.Primitive visitUnresolvedSuperSetterCompoundIndexSet(
+ ast.Send node,
+ MethodElement getter,
+ Element element,
+ ast.Node index,
+ op.AssignmentOperator operator,
+ ast.Node rhs,
+ arg) {
+ return giveup(node, 'visitUnresolvedSuperSetterCompoundIndexSet');
+ }
+
+ @override
ir.Primitive handleStaticSetterSet(
ast.SendSet node,
FunctionElement setter,
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698