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

Side by Side Diff: pkg/compiler/lib/src/universe/world_builder.dart

Issue 2826673002: Remove JavaScriptBackend from ClosedWorldBase (Closed)
Patch Set: 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) 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 world_builder; 5 library world_builder;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../common/names.dart' show Identifiers; 10 import '../common/names.dart' show Identifiers;
11 import '../common/resolution.dart' show Resolution; 11 import '../common/resolution.dart' show Resolution;
12 import '../common_elements.dart'; 12 import '../common_elements.dart';
13 import '../constants/values.dart'; 13 import '../constants/values.dart';
14 import '../elements/elements.dart'; 14 import '../elements/elements.dart';
15 import '../elements/entities.dart'; 15 import '../elements/entities.dart';
16 import '../elements/resolution_types.dart'; 16 import '../elements/resolution_types.dart';
17 import '../elements/types.dart'; 17 import '../elements/types.dart';
18 import '../js_backend/backend.dart' show JavaScriptBackend; 18 import '../js_backend/backend.dart' show JavaScriptBackend;
19 import '../js_backend/constant_handler_javascript.dart' 19 import '../js_backend/constant_handler_javascript.dart'
20 show JavaScriptConstantCompiler; 20 show JavaScriptConstantCompiler;
21 import '../js_backend/native_data.dart' show NativeBasicData; 21 import '../js_backend/native_data.dart' show NativeBasicData;
22 import '../universe/class_set.dart'; 22 import '../universe/class_set.dart';
23 import '../universe/function_set.dart' show FunctionSetBuilder; 23 import '../universe/function_set.dart' show FunctionSetBuilder;
24 import '../util/enumset.dart'; 24 import '../util/enumset.dart';
25 import '../util/util.dart'; 25 import '../util/util.dart';
26 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; 26 import '../world.dart'
27 show World, ClosedWorld, ClosedWorldImpl, KernelClosedWorld, OpenWorld;
27 import 'selector.dart' show Selector; 28 import 'selector.dart' show Selector;
28 import 'use.dart' 29 import 'use.dart'
29 show 30 show
30 ConstantUse, 31 ConstantUse,
31 ConstantUseKind, 32 ConstantUseKind,
32 DynamicUse, 33 DynamicUse,
33 DynamicUseKind, 34 DynamicUseKind,
34 StaticUse, 35 StaticUse,
35 StaticUseKind; 36 StaticUseKind;
36 37
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 176
176 /// All directly instantiated types, that is, the types of the directly 177 /// All directly instantiated types, that is, the types of the directly
177 /// instantiated classes. 178 /// instantiated classes.
178 // TODO(johnniwinther): Improve semantic precision. 179 // TODO(johnniwinther): Improve semantic precision.
179 Iterable<InterfaceType> get instantiatedTypes; 180 Iterable<InterfaceType> get instantiatedTypes;
180 181
181 /// Registers that [type] is checked in this world builder. The unaliased type 182 /// Registers that [type] is checked in this world builder. The unaliased type
182 /// is returned. 183 /// is returned.
183 void registerIsCheck(DartType type); 184 void registerIsCheck(DartType type);
184 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698