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

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

Issue 2969993002: Handle instance/super methods in js_model/model_test (Closed)
Patch Set: Created 3 years, 5 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/constant_handler_javascript.dart' 21 import '../js_backend/constant_handler_javascript.dart'
22 show JavaScriptConstantCompiler; 22 show JavaScriptConstantCompiler;
23 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; 23 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder;
24 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; 24 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder;
25 import '../kernel/element_map_impl.dart'; 25 import '../kernel/element_map_impl.dart';
26 import '../universe/class_set.dart'; 26 import '../universe/class_set.dart';
27 import '../universe/function_set.dart' show FunctionSetBuilder;
28 import '../util/enumset.dart'; 27 import '../util/enumset.dart';
29 import '../util/util.dart'; 28 import '../util/util.dart';
30 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; 29 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld;
31 import 'selector.dart' show Selector; 30 import 'selector.dart' show Selector;
32 import 'use.dart' 31 import 'use.dart'
33 show 32 show
34 ConstantUse, 33 ConstantUse,
35 ConstantUseKind, 34 ConstantUseKind,
36 DynamicUse, 35 DynamicUse,
37 DynamicUseKind, 36 DynamicUseKind,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 178
180 /// All directly instantiated types, that is, the types of the directly 179 /// All directly instantiated types, that is, the types of the directly
181 /// instantiated classes. 180 /// instantiated classes.
182 // TODO(johnniwinther): Improve semantic precision. 181 // TODO(johnniwinther): Improve semantic precision.
183 Iterable<InterfaceType> get instantiatedTypes; 182 Iterable<InterfaceType> get instantiatedTypes;
184 183
185 /// Registers that [type] is checked in this world builder. The unaliased type 184 /// Registers that [type] is checked in this world builder. The unaliased type
186 /// is returned. 185 /// is returned.
187 void registerIsCheck(DartType type); 186 void registerIsCheck(DartType type);
188 } 187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698