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

Side by Side Diff: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart

Issue 2930293002: Parameterize and move JumpTarget/LabelDefition to elements/jumps.dart (Closed)
Patch Set: Fix 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/jump_handler.dart ('k') | pkg/compiler/lib/src/ssa/loop_handler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/jump_handler.dart ('k') | pkg/compiler/lib/src/ssa/loop_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698