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

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

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 '../compiler.dart' show Compiler; 7 import '../compiler.dart' show Compiler;
8 import '../core_types.dart' show CoreClasses; 8 import '../core_types.dart' show CoreClasses;
9 import '../dart_types.dart' show InterfaceType; 9 import '../dart_types.dart' show InterfaceType;
10 import '../elements/elements.dart' show ClassElement, Element; 10 import '../elements/elements.dart' show ClassElement, Element;
11
12 import 'backend_helpers.dart'; 11 import 'backend_helpers.dart';
13 import 'constant_system_javascript.dart'; 12 import 'constant_system_javascript.dart';
14 import 'js_backend.dart'; 13 import 'js_backend.dart';
15 14
16 /// A set of JavaScript backend dependencies. 15 /// A set of JavaScript backend dependencies.
17 class BackendImpact { 16 class BackendImpact {
18 final List<Element> staticUses; 17 final List<Element> staticUses;
19 final List<InterfaceType> instantiatedTypes; 18 final List<InterfaceType> instantiatedTypes;
20 final List<ClassElement> instantiatedClasses; 19 final List<ClassElement> instantiatedClasses;
21 final List<BackendImpact> otherImpacts; 20 final List<BackendImpact> otherImpacts;
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 BackendImpact _closure; 598 BackendImpact _closure;
600 599
601 BackendImpact get closure { 600 BackendImpact get closure {
602 if (_closure == null) { 601 if (_closure == null) {
603 _closure = 602 _closure =
604 new BackendImpact(instantiatedClasses: [coreClasses.functionClass]); 603 new BackendImpact(instantiatedClasses: [coreClasses.functionClass]);
605 } 604 }
606 return _closure; 605 return _closure;
607 } 606 }
608 } 607 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_helpers.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