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

Side by Side Diff: pkg/compiler/lib/src/js_backend/enqueuer.dart

Issue 2366363002: Move remaining functionality from ClassWorld to ClosedWorld (Closed)
Patch Set: Created 4 years, 2 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) 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.js.enqueue; 5 library dart2js.js.enqueue;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue;
8 8
9 import '../common/backend_api.dart' show Backend; 9 import '../common/backend_api.dart' show Backend;
10 import '../common/codegen.dart' show CodegenWorkItem; 10 import '../common/codegen.dart' show CodegenWorkItem;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 CodegenUniverse get universe => _universe; 81 CodegenUniverse get universe => _universe;
82 82
83 Backend get backend => _compiler.backend; 83 Backend get backend => _compiler.backend;
84 84
85 CompilerOptions get options => _compiler.options; 85 CompilerOptions get options => _compiler.options;
86 86
87 Registry get globalDependencies => _compiler.globalDependencies; 87 Registry get globalDependencies => _compiler.globalDependencies;
88 88
89 Registry get mirrorDependencies => _compiler.mirrorDependencies; 89 Registry get mirrorDependencies => _compiler.mirrorDependencies;
90 90
91 ClassWorld get _world => _compiler.closedWorld; 91 ClosedWorld get _world => _compiler.closedWorld;
92 92
93 bool get queueIsEmpty => queue.isEmpty; 93 bool get queueIsEmpty => queue.isEmpty;
94 94
95 /// Returns [:true:] if this enqueuer is the resolution enqueuer. 95 /// Returns [:true:] if this enqueuer is the resolution enqueuer.
96 bool get isResolutionQueue => false; 96 bool get isResolutionQueue => false;
97 97
98 QueueFilter get filter => _compiler.enqueuerFilter; 98 QueueFilter get filter => _compiler.enqueuerFilter;
99 99
100 DiagnosticReporter get reporter => _compiler.reporter; 100 DiagnosticReporter get reporter => _compiler.reporter;
101 101
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 @override 700 @override
701 void visitStaticUse(StaticUse staticUse) { 701 void visitStaticUse(StaticUse staticUse) {
702 enqueuer.registerStaticUse(staticUse); 702 enqueuer.registerStaticUse(staticUse);
703 } 703 }
704 704
705 @override 705 @override
706 void visitTypeUse(TypeUse typeUse) { 706 void visitTypeUse(TypeUse typeUse) {
707 enqueuer.registerTypeUse(typeUse); 707 enqueuer.registerTypeUse(typeUse);
708 } 708 }
709 } 709 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698