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

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

Issue 2927093002: Support user class in compile_from_dill_test (Closed)
Patch Set: Created 3 years, 6 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/constant_system.dart'; 13 import '../constants/constant_system.dart';
14 import '../constants/values.dart'; 14 import '../constants/values.dart';
15 import '../elements/elements.dart'; 15 import '../elements/elements.dart';
16 import '../elements/entities.dart'; 16 import '../elements/entities.dart';
17 import '../elements/resolution_types.dart'; 17 import '../elements/resolution_types.dart';
18 import '../elements/types.dart'; 18 import '../elements/types.dart';
19 import '../js_backend/backend.dart' show JavaScriptBackend; 19 import '../js_backend/backend.dart' show JavaScriptBackend;
20 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; 20 import '../js_backend/backend_usage.dart' show BackendUsageBuilder;
21 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; 21 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder;
22 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; 22 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder;
23 import '../kernel/element_map_impl.dart';
23 import '../universe/class_set.dart'; 24 import '../universe/class_set.dart';
24 import '../universe/function_set.dart' show FunctionSetBuilder; 25 import '../universe/function_set.dart' show FunctionSetBuilder;
25 import '../util/enumset.dart'; 26 import '../util/enumset.dart';
26 import '../util/util.dart'; 27 import '../util/util.dart';
27 import '../world.dart' 28 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld;
28 show World, ClosedWorld, ClosedWorldImpl, KernelClosedWorld, OpenWorld;
29 import 'selector.dart' show Selector; 29 import 'selector.dart' show Selector;
30 import 'use.dart' 30 import 'use.dart'
31 show 31 show
32 ConstantUse, 32 ConstantUse,
33 ConstantUseKind, 33 ConstantUseKind,
34 DynamicUse, 34 DynamicUse,
35 DynamicUseKind, 35 DynamicUseKind,
36 StaticUse, 36 StaticUse,
37 StaticUseKind; 37 StaticUseKind;
38 38
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 /// All directly instantiated types, that is, the types of the directly 178 /// All directly instantiated types, that is, the types of the directly
179 /// instantiated classes. 179 /// instantiated classes.
180 // TODO(johnniwinther): Improve semantic precision. 180 // TODO(johnniwinther): Improve semantic precision.
181 Iterable<InterfaceType> get instantiatedTypes; 181 Iterable<InterfaceType> get instantiatedTypes;
182 182
183 /// Registers that [type] is checked in this world builder. The unaliased type 183 /// Registers that [type] is checked in this world builder. The unaliased type
184 /// is returned. 184 /// is returned.
185 void registerIsCheck(DartType type); 185 void registerIsCheck(DartType type);
186 } 186 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698