| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 '../common.dart'; | 8 import '../common.dart'; |
| 8 import '../common/names.dart'; | 9 import '../common/names.dart'; |
| 9 import '../constants/constructors.dart'; | 10 import '../constants/constructors.dart'; |
| 10 import '../constants/expressions.dart'; | 11 import '../constants/expressions.dart'; |
| 11 import '../constants/values.dart'; | 12 import '../constants/values.dart'; |
| 12 import '../common_elements.dart'; | 13 import '../common_elements.dart'; |
| 13 import '../elements/elements.dart' show JumpTarget; | 14 import '../elements/elements.dart' show JumpTarget; |
| 14 import '../elements/entities.dart'; | 15 import '../elements/entities.dart'; |
| 15 import '../elements/names.dart'; | 16 import '../elements/names.dart'; |
| 16 import '../elements/operators.dart'; | 17 import '../elements/operators.dart'; |
| (...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 | 1031 |
| 1031 /// Call to notify that [member] is no longer being inlined. | 1032 /// Call to notify that [member] is no longer being inlined. |
| 1032 void leaveInlinedMember(MemberEntity member); | 1033 void leaveInlinedMember(MemberEntity member); |
| 1033 | 1034 |
| 1034 /// Returns the [Local] for [node]. | 1035 /// Returns the [Local] for [node]. |
| 1035 Local getLocal(ir.VariableDeclaration node); | 1036 Local getLocal(ir.VariableDeclaration node); |
| 1036 | 1037 |
| 1037 /// Returns the [JumpTarget] for the branch in [node]. | 1038 /// Returns the [JumpTarget] for the branch in [node]. |
| 1038 // TODO(johnniwinther): Split this by kind of [node]? | 1039 // TODO(johnniwinther): Split this by kind of [node]? |
| 1039 JumpTarget getJumpTarget(ir.TreeNode node, {bool isContinueTarget: false}); | 1040 JumpTarget getJumpTarget(ir.TreeNode node, {bool isContinueTarget: false}); |
| 1041 |
| 1042 /// Returns the [LoopClosureRepresentationInfo] for the loop [node] in |
| 1043 /// [closureClassMaps]. |
| 1044 LoopClosureRepresentationInfo getClosureRepresentationInfoForLoop( |
| 1045 ClosureClassMaps closureClassMaps, ir.TreeNode node); |
| 1040 } | 1046 } |
| OLD | NEW |