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

Side by Side Diff: pkg/compiler/lib/src/info/send_info.dart

Issue 1677423002: Revert "Fix super noSuchMethod handling." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Computes measurements about sends in a function. 5 /// Computes measurements about sends in a function.
6 library compiler.src.info.send_info; 6 library compiler.src.info.send_info;
7 7
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:dart2js_info/src/measurements.dart'; 10 import 'package:dart2js_info/src/measurements.dart';
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 Node index, AssignmentOperator operator, Node rhs, T arg) { 1612 Node index, AssignmentOperator operator, Node rhs, T arg) {
1613 handleNSMSuper(node, element.enclosingClass); 1613 handleNSMSuper(node, element.enclosingClass);
1614 handleNoSend(node); 1614 handleNoSend(node);
1615 handleNSMSuper(node, element.enclosingClass); 1615 handleNSMSuper(node, element.enclosingClass);
1616 } 1616 }
1617 1617
1618 void visitUnresolvedSuperGet(Send node, Element element, T arg) { 1618 void visitUnresolvedSuperGet(Send node, Element element, T arg) {
1619 handleNSMSuper(node, element.enclosingClass); 1619 handleNSMSuper(node, element.enclosingClass);
1620 } 1620 }
1621 1621
1622 void visitUnresolvedSuperSet(Send node, Element element, Node rhs, T arg) {
1623 handleNSMSuper(node, element.enclosingClass);
1624 }
1625
1626 void visitUnresolvedSuperSetIfNull( 1622 void visitUnresolvedSuperSetIfNull(
1627 Send node, Element element, Node rhs, T arg) { 1623 Send node, Element element, Node rhs, T arg) {
1628 handleNSMSuper(node, element.enclosingClass); 1624 handleNSMSuper(node, element.enclosingClass);
1629 handleNoSend(node); 1625 handleNoSend(node);
1630 } 1626 }
1631 1627
1632 void visitUnresolvedSuperGetterCompound(Send node, Element element, 1628 void visitUnresolvedSuperGetterCompound(Send node, Element element,
1633 MethodElement setter, AssignmentOperator operator, Node rhs, T arg) { 1629 MethodElement setter, AssignmentOperator operator, Node rhs, T arg) {
1634 handleNSMSuper(node, element.enclosingClass); 1630 handleNSMSuper(node, element.enclosingClass);
1635 handleOperator(node); 1631 handleOperator(node);
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2384 @override 2380 @override
2385 R visitClosureFieldElement(ClosureFieldElement e, A arg) { 2381 R visitClosureFieldElement(ClosureFieldElement e, A arg) {
2386 return visitVariableElement(e, arg); 2382 return visitVariableElement(e, arg);
2387 } 2383 }
2388 } 2384 }
2389 2385
2390 // TODO(sigmund): get rid of debug messages. 2386 // TODO(sigmund): get rid of debug messages.
2391 _debug(String message) { 2387 _debug(String message) {
2392 print('debug: $message'); 2388 print('debug: $message');
2393 } 2389 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart ('k') | pkg/compiler/lib/src/js_backend/js_backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698