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

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

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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_helpers.impact; 5 library dart2js.js_helpers.impact;
6 6
7 import '../common/names.dart'; 7 import '../common/names.dart';
8 import '../compiler.dart' show Compiler; 8 import '../compiler.dart' show Compiler;
9 import '../core_types.dart' show CommonElements; 9 import '../core_types.dart' show CommonElements;
10 import '../dart_types.dart' show InterfaceType; 10 import '../elements/resolution_types.dart' show InterfaceType;
11 import '../elements/elements.dart' show ClassElement, Element; 11 import '../elements/elements.dart' show ClassElement, Element;
12 import '../universe/selector.dart'; 12 import '../universe/selector.dart';
13 import '../util/enumset.dart'; 13 import '../util/enumset.dart';
14 import 'backend_helpers.dart'; 14 import 'backend_helpers.dart';
15 import 'constant_system_javascript.dart'; 15 import 'constant_system_javascript.dart';
16 import 'js_backend.dart'; 16 import 'js_backend.dart';
17 17
18 /// Backend specific features required by a backend impact. 18 /// Backend specific features required by a backend impact.
19 enum BackendFeature { 19 enum BackendFeature {
20 needToInitializeIsolateAffinityTag, 20 needToInitializeIsolateAffinityTag,
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 730
731 BackendImpact _staticClosure; 731 BackendImpact _staticClosure;
732 732
733 /// Backend impact for performing closurization of a top-level or static 733 /// Backend impact for performing closurization of a top-level or static
734 /// function. 734 /// function.
735 BackendImpact get staticClosure { 735 BackendImpact get staticClosure {
736 return _staticClosure ??= 736 return _staticClosure ??=
737 new BackendImpact(globalClasses: [helpers.closureClass]); 737 new BackendImpact(globalClasses: [helpers.closureClass]);
738 } 738 }
739 } 739 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/backend_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698