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

Side by Side Diff: pkg/compiler/lib/src/enqueue.dart

Issue 1441853005: Revert "Register super field set explicitly in the universe." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library dart2js.enqueue; 5 library dart2js.enqueue;
6 6
7 import 'dart:collection' show 7 import 'dart:collection' show
8 Queue; 8 Queue;
9 9
10 import 'common.dart'; 10 import 'common.dart';
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 break; 627 break;
628 case StaticUseKind.FIELD_GET: 628 case StaticUseKind.FIELD_GET:
629 case StaticUseKind.FIELD_SET: 629 case StaticUseKind.FIELD_SET:
630 case StaticUseKind.CLOSURE: 630 case StaticUseKind.CLOSURE:
631 // TODO(johnniwinther): Avoid this. Currently [FIELD_GET] and 631 // TODO(johnniwinther): Avoid this. Currently [FIELD_GET] and
632 // [FIELD_SET] contains [BoxFieldElement]s which we cannot enqueue. 632 // [FIELD_SET] contains [BoxFieldElement]s which we cannot enqueue.
633 // Also [CLOSURE] contains [LocalFunctionElement] which we cannot 633 // Also [CLOSURE] contains [LocalFunctionElement] which we cannot
634 // enqueue. 634 // enqueue.
635 addElement = false; 635 addElement = false;
636 break; 636 break;
637 case StaticUseKind.SUPER_FIELD_SET:
638 case StaticUseKind.SUPER_TEAR_OFF: 637 case StaticUseKind.SUPER_TEAR_OFF:
639 case StaticUseKind.GENERAL: 638 case StaticUseKind.GENERAL:
640 break; 639 break;
641 } 640 }
642 if (addElement) { 641 if (addElement) {
643 addToWorkList(element); 642 addToWorkList(element);
644 } 643 }
645 } 644 }
646 645
647 void registerTypeUse(TypeUse typeUse) { 646 void registerTypeUse(TypeUse typeUse) {
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 @override 1032 @override
1034 void processStaticUse(Enqueuer enqueuer, StaticUse staticUse) { 1033 void processStaticUse(Enqueuer enqueuer, StaticUse staticUse) {
1035 enqueuer.registerStaticUseInternal(staticUse); 1034 enqueuer.registerStaticUseInternal(staticUse);
1036 } 1035 }
1037 1036
1038 @override 1037 @override
1039 void processDynamicUse(Enqueuer enqueuer, DynamicUse dynamicUse) { 1038 void processDynamicUse(Enqueuer enqueuer, DynamicUse dynamicUse) {
1040 enqueuer.handleUnseenSelectorInternal(dynamicUse); 1039 enqueuer.handleUnseenSelectorInternal(dynamicUse);
1041 } 1040 }
1042 } 1041 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698