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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart

Issue 2827283002: Implement subtype relation for kernel based elements. (Closed)
Patch Set: Add remaining checks of BackendUsage Created 3 years, 8 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_emitter.program_builder; 5 library dart2js.js_emitter.program_builder;
6 6
7 import '../../closure.dart' show ClosureTask, ClosureFieldElement; 7 import '../../closure.dart' show ClosureTask, ClosureFieldElement;
8 import '../../common.dart'; 8 import '../../common.dart';
9 import '../../common/names.dart' show Names, Selectors; 9 import '../../common/names.dart' show Names, Selectors;
10 import '../../constants/values.dart' 10 import '../../constants/values.dart'
(...skipping 10 matching lines...) Expand all
21 FunctionSignature, 21 FunctionSignature,
22 GetterElement, 22 GetterElement,
23 LibraryElement, 23 LibraryElement,
24 MemberElement, 24 MemberElement,
25 MethodElement, 25 MethodElement,
26 ParameterElement, 26 ParameterElement,
27 TypedefElement, 27 TypedefElement,
28 VariableElement; 28 VariableElement;
29 import '../../elements/entities.dart'; 29 import '../../elements/entities.dart';
30 import '../../elements/resolution_types.dart' 30 import '../../elements/resolution_types.dart'
31 show 31 show ResolutionDartType, ResolutionFunctionType, ResolutionTypedefType;
32 DartTypes, 32 import '../../elements/types.dart' show DartType, DartTypes;
33 ResolutionDartType,
34 ResolutionFunctionType,
35 ResolutionTypedefType;
36 import '../../elements/types.dart' show DartType;
37 import '../../js/js.dart' as js; 33 import '../../js/js.dart' as js;
38 import '../../js_backend/backend.dart' 34 import '../../js_backend/backend.dart'
39 show 35 show
40 RuntimeTypesChecks, 36 RuntimeTypesChecks,
41 RuntimeTypesNeed, 37 RuntimeTypesNeed,
42 RuntimeTypesEncoder, 38 RuntimeTypesEncoder,
43 RuntimeTypesSubstitutions, 39 RuntimeTypesSubstitutions,
44 SuperMemberData; 40 SuperMemberData;
45 import '../../js_backend/backend_usage.dart'; 41 import '../../js_backend/backend_usage.dart';
46 import '../../js_backend/constant_handler_javascript.dart' 42 import '../../js_backend/constant_handler_javascript.dart'
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 Constant constant = new Constant(name, holder, constantValue); 1094 Constant constant = new Constant(name, holder, constantValue);
1099 _constants[constantValue] = constant; 1095 _constants[constantValue] = constant;
1100 } 1096 }
1101 } 1097 }
1102 1098
1103 Holder _registerStaticStateHolder() { 1099 Holder _registerStaticStateHolder() {
1104 return _registry.registerHolder(_namer.staticStateHolder, 1100 return _registry.registerHolder(_namer.staticStateHolder,
1105 isStaticStateHolder: true); 1101 isStaticStateHolder: true);
1106 } 1102 }
1107 } 1103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698