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:kernel/ast.dart' as ir; | 5 import 'package:kernel/ast.dart' as ir; |
6 | 6 |
7 import '../closure.dart'; | 7 import '../closure.dart'; |
8 import '../elements/elements.dart' show JumpTarget, LabelDefinition; | 8 import '../elements/jumps.dart'; |
9 import '../io/source_information.dart'; | 9 import '../io/source_information.dart'; |
10 import '../tree/tree.dart' as ast; | 10 import '../tree/tree.dart' as ast; |
11 | 11 |
12 import 'builder.dart'; | 12 import 'builder.dart'; |
13 import 'builder_kernel.dart'; | 13 import 'builder_kernel.dart'; |
14 import 'graph_builder.dart'; | 14 import 'graph_builder.dart'; |
15 import 'jump_handler.dart'; | 15 import 'jump_handler.dart'; |
16 import 'kernel_ast_adapter.dart'; | 16 import 'kernel_ast_adapter.dart'; |
17 import 'locals_handler.dart'; | 17 import 'locals_handler.dart'; |
18 import 'nodes.dart'; | 18 import 'nodes.dart'; |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 HLoopBlockInformation.DO_WHILE_LOOP; | 400 HLoopBlockInformation.DO_WHILE_LOOP; |
401 | 401 |
402 @override | 402 @override |
403 int visitForInStatement(ir.ForInStatement node) => | 403 int visitForInStatement(ir.ForInStatement node) => |
404 HLoopBlockInformation.FOR_IN_LOOP; | 404 HLoopBlockInformation.FOR_IN_LOOP; |
405 | 405 |
406 @override | 406 @override |
407 int visitSwitchStatement(ir.SwitchStatement node) => | 407 int visitSwitchStatement(ir.SwitchStatement node) => |
408 HLoopBlockInformation.SWITCH_CONTINUE_LOOP; | 408 HLoopBlockInformation.SWITCH_CONTINUE_LOOP; |
409 } | 409 } |
OLD | NEW |