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

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

Issue 2850143002: Reuse RuntimeTypesNeedBuilderImpl and _RuntimeTypesNeed for kernel based elements (Closed)
Patch Set: Fix comment 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; 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/resolution_types.dart'; 23 import '../elements/resolution_types.dart';
24 import '../elements/types.dart'; 24 import '../elements/types.dart';
25 import '../enqueue.dart' 25 import '../enqueue.dart'
26 show 26 show
27 DirectEnqueuerStrategy, 27 DirectEnqueuerStrategy,
28 Enqueuer, 28 Enqueuer,
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 1446
1447 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) { 1447 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) {
1448 return !selector.isGetter; 1448 return !selector.isGetter;
1449 } 1449 }
1450 1450
1451 /// Returns `true` if [member] is called from a subclass via `super`. 1451 /// Returns `true` if [member] is called from a subclass via `super`.
1452 bool isAliasedSuperMember(MemberEntity member) { 1452 bool isAliasedSuperMember(MemberEntity member) {
1453 return _aliasedSuperMembers.contains(member); 1453 return _aliasedSuperMembers.contains(member);
1454 } 1454 }
1455 } 1455 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698