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

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

Issue 2860753005: Make elements/names.dart its own library (Closed)
Patch Set: Created 3 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 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 js_backend.backend; 5 library js_backend.backend;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/backend_api.dart' 8 import '../common/backend_api.dart'
9 show ForeignResolver, NativeRegistry, ImpactTransformer; 9 show ForeignResolver, NativeRegistry, ImpactTransformer;
10 import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem; 10 import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem;
11 import '../common/names.dart' show Uris; 11 import '../common/names.dart' show Uris;
12 import '../common/resolution.dart' show Resolution, Target; 12 import '../common/resolution.dart' show Resolution, Target;
13 import '../common/tasks.dart' show CompilerTask; 13 import '../common/tasks.dart' show CompilerTask;
14 import '../compiler.dart' show Compiler; 14 import '../compiler.dart' show Compiler;
15 import '../constants/constant_system.dart'; 15 import '../constants/constant_system.dart';
16 import '../constants/expressions.dart'; 16 import '../constants/expressions.dart';
17 import '../constants/values.dart'; 17 import '../constants/values.dart';
18 import '../common_elements.dart' show CommonElements, ElementEnvironment; 18 import '../common_elements.dart' show CommonElements, ElementEnvironment;
19 import '../deferred_load.dart' show DeferredLoadTask; 19 import '../deferred_load.dart' show DeferredLoadTask;
20 import '../dump_info.dart' show DumpInfoTask; 20 import '../dump_info.dart' show DumpInfoTask;
21 import '../elements/elements.dart'; 21 import '../elements/elements.dart';
22 import '../elements/entities.dart'; 22 import '../elements/entities.dart';
23 import '../elements/names.dart';
23 import '../elements/resolution_types.dart'; 24 import '../elements/resolution_types.dart';
24 import '../elements/types.dart'; 25 import '../elements/types.dart';
25 import '../enqueue.dart' 26 import '../enqueue.dart'
26 show 27 show
27 DirectEnqueuerStrategy, 28 DirectEnqueuerStrategy,
28 Enqueuer, 29 Enqueuer,
29 EnqueueTask, 30 EnqueueTask,
30 ResolutionEnqueuer, 31 ResolutionEnqueuer,
31 TreeShakingEnqueuerStrategy; 32 TreeShakingEnqueuerStrategy;
32 import '../frontend_strategy.dart'; 33 import '../frontend_strategy.dart';
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 1474
1474 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) { 1475 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) {
1475 return !selector.isGetter; 1476 return !selector.isGetter;
1476 } 1477 }
1477 1478
1478 /// Returns `true` if [member] is called from a subclass via `super`. 1479 /// Returns `true` if [member] is called from a subclass via `super`.
1479 bool isAliasedSuperMember(MemberEntity member) { 1480 bool isAliasedSuperMember(MemberEntity member) {
1480 return _aliasedSuperMembers.contains(member); 1481 return _aliasedSuperMembers.contains(member);
1481 } 1482 }
1482 } 1483 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/inferrer/inferrer_engine.dart ('k') | pkg/compiler/lib/src/js_backend/mirrors_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698