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

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

Issue 2667473003: Move Entity and Local to entities.dart (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/elements/names.dart ('k') | pkg/compiler/lib/src/inferrer/builder.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 Queue; 7 import 'dart:collection' show Queue;
8 8
9 import 'cache_strategy.dart'; 9 import 'cache_strategy.dart';
10 import 'common/backend_api.dart' show Backend; 10 import 'common/backend_api.dart' show Backend;
11 import 'common/resolution.dart' show Resolution; 11 import 'common/resolution.dart' show Resolution;
12 import 'common/tasks.dart' show CompilerTask; 12 import 'common/tasks.dart' show CompilerTask;
13 import 'common/work.dart' show WorkItem; 13 import 'common/work.dart' show WorkItem;
14 import 'common.dart'; 14 import 'common.dart';
15 import 'compiler.dart' show Compiler, GlobalDependencyRegistry; 15 import 'compiler.dart' show Compiler, GlobalDependencyRegistry;
16 import 'options.dart'; 16 import 'options.dart';
17 import 'elements/elements.dart' 17 import 'elements/elements.dart'
18 show 18 show
19 AnalyzableElement, 19 AnalyzableElement,
20 ClassElement, 20 ClassElement,
21 ConstructorElement, 21 ConstructorElement,
22 Element, 22 Element,
23 Entity,
24 MemberElement; 23 MemberElement;
25 import 'elements/entities.dart'; 24 import 'elements/entities.dart';
26 import 'elements/resolution_types.dart' 25 import 'elements/resolution_types.dart'
27 show ResolutionDartType, ResolutionInterfaceType; 26 show ResolutionDartType, ResolutionInterfaceType;
28 import 'native/native.dart' as native; 27 import 'native/native.dart' as native;
29 import 'universe/world_builder.dart'; 28 import 'universe/world_builder.dart';
30 import 'universe/use.dart' 29 import 'universe/use.dart'
31 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind; 30 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind;
32 import 'universe/world_impact.dart' 31 import 'universe/world_impact.dart'
33 show ImpactStrategy, ImpactUseCase, WorldImpact, WorldImpactVisitor; 32 show ImpactStrategy, ImpactUseCase, WorldImpact, WorldImpactVisitor;
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 @override 538 @override
540 WorkItem createWorkItem(MemberElement element) { 539 WorkItem createWorkItem(MemberElement element) {
541 assert(invariant(element, element.isDeclaration)); 540 assert(invariant(element, element.isDeclaration));
542 if (element.isMalformed) return null; 541 if (element.isMalformed) return null;
543 542
544 assert(invariant(element, element is AnalyzableElement, 543 assert(invariant(element, element is AnalyzableElement,
545 message: 'Element $element is not analyzable.')); 544 message: 'Element $element is not analyzable.'));
546 return _resolution.createWorkItem(element); 545 return _resolution.createWorkItem(element);
547 } 546 }
548 } 547 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/names.dart ('k') | pkg/compiler/lib/src/inferrer/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698