OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'package:js_runtime/shared/embedded_names.dart'; | 5 import 'package:js_runtime/shared/embedded_names.dart'; |
6 import 'package:kernel/ast.dart' as ir; | 6 import 'package:kernel/ast.dart' as ir; |
7 | 7 |
8 import '../closure.dart'; | 8 import '../closure.dart'; |
9 import '../common.dart'; | 9 import '../common.dart'; |
10 import '../compiler.dart'; | 10 import '../compiler.dart'; |
11 import '../constants/expressions.dart'; | 11 import '../constants/expressions.dart'; |
12 import '../constants/values.dart'; | 12 import '../constants/values.dart'; |
13 import '../common_elements.dart'; | 13 import '../common_elements.dart'; |
14 import '../elements/elements.dart'; | 14 import '../elements/elements.dart'; |
15 import '../elements/entities.dart'; | 15 import '../elements/entities.dart'; |
| 16 import '../elements/jumps.dart'; |
16 import '../elements/modelx.dart'; | 17 import '../elements/modelx.dart'; |
17 import '../elements/resolution_types.dart'; | 18 import '../elements/resolution_types.dart'; |
18 import '../elements/types.dart'; | 19 import '../elements/types.dart'; |
19 import '../js/js.dart' as js; | 20 import '../js/js.dart' as js; |
20 import '../js_backend/js_backend.dart'; | 21 import '../js_backend/js_backend.dart'; |
21 import '../kernel/element_map.dart'; | 22 import '../kernel/element_map.dart'; |
22 import '../kernel/kernel.dart'; | 23 import '../kernel/kernel.dart'; |
23 import '../native/native.dart' as native; | 24 import '../native/native.dart' as native; |
24 import '../resolution/tree_elements.dart'; | 25 import '../resolution/tree_elements.dart'; |
25 import '../tree/tree.dart' as ast; | 26 import '../tree/tree.dart' as ast; |
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 TypeMask selectorTypeOf(Selector selector, TypeMask mask) { | 642 TypeMask selectorTypeOf(Selector selector, TypeMask mask) { |
642 return TypeMaskFactory.inferredTypeForSelector( | 643 return TypeMaskFactory.inferredTypeForSelector( |
643 selector, mask, _globalInferenceResults); | 644 selector, mask, _globalInferenceResults); |
644 } | 645 } |
645 | 646 |
646 TypeMask typeFromNativeBehavior( | 647 TypeMask typeFromNativeBehavior( |
647 native.NativeBehavior nativeBehavior, ClosedWorld closedWorld) { | 648 native.NativeBehavior nativeBehavior, ClosedWorld closedWorld) { |
648 return TypeMaskFactory.fromNativeBehavior(nativeBehavior, closedWorld); | 649 return TypeMaskFactory.fromNativeBehavior(nativeBehavior, closedWorld); |
649 } | 650 } |
650 } | 651 } |
OLD | NEW |