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

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

Issue 2619813005: Use entities in various ssa helpers. (Closed)
Patch Set: Fix comments. Created 3 years, 11 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) 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 '../elements/elements.dart'; 7 import '../elements/elements.dart' show JumpTarget, LabelDefinition;
8 import '../io/source_information.dart'; 8 import '../io/source_information.dart';
9 import '../tree/tree.dart' as ast; 9 import '../tree/tree.dart' as ast;
10 10
11 import 'builder.dart'; 11 import 'builder.dart';
12 import 'builder_kernel.dart'; 12 import 'builder_kernel.dart';
13 import 'graph_builder.dart'; 13 import 'graph_builder.dart';
14 import 'jump_handler.dart'; 14 import 'jump_handler.dart';
15 import 'kernel_ast_adapter.dart'; 15 import 'kernel_ast_adapter.dart';
16 import 'locals_handler.dart'; 16 import 'locals_handler.dart';
17 import 'nodes.dart'; 17 import 'nodes.dart';
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 HLoopBlockInformation.DO_WHILE_LOOP; 407 HLoopBlockInformation.DO_WHILE_LOOP;
408 408
409 @override 409 @override
410 int visitForInStatement(ir.ForInStatement node) => 410 int visitForInStatement(ir.ForInStatement node) =>
411 HLoopBlockInformation.FOR_IN_LOOP; 411 HLoopBlockInformation.FOR_IN_LOOP;
412 412
413 @override 413 @override
414 int visitSwitchStatement(ir.SwitchStatement node) => 414 int visitSwitchStatement(ir.SwitchStatement node) =>
415 HLoopBlockInformation.SWITCH_CONTINUE_LOOP; 415 HLoopBlockInformation.SWITCH_CONTINUE_LOOP;
416 } 416 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart ('k') | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698