| 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 '../closure.dart'; | 
|    8 import '../common.dart'; |    8 import '../common.dart'; | 
|    9 import '../constants/values.dart'; |    9 import '../constants/values.dart'; | 
|   10 import '../common_elements.dart'; |   10 import '../common_elements.dart'; | 
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  308   JumpTarget getJumpTargetForFor(ir.ForStatement node); |  308   JumpTarget getJumpTargetForFor(ir.ForStatement node); | 
|  309  |  309  | 
|  310   /// Returns the [JumpTarget] defined by the for-in statement [node] or `null` |  310   /// Returns the [JumpTarget] defined by the for-in statement [node] or `null` | 
|  311   /// if [node] is not a jump target. |  311   /// if [node] is not a jump target. | 
|  312   JumpTarget getJumpTargetForForIn(ir.ForInStatement node); |  312   JumpTarget getJumpTargetForForIn(ir.ForInStatement node); | 
|  313  |  313  | 
|  314   /// Returns the [JumpTarget] defined by the while statement [node] or `null` |  314   /// Returns the [JumpTarget] defined by the while statement [node] or `null` | 
|  315   /// if [node] is not a jump target. |  315   /// if [node] is not a jump target. | 
|  316   JumpTarget getJumpTargetForWhile(ir.WhileStatement node); |  316   JumpTarget getJumpTargetForWhile(ir.WhileStatement node); | 
|  317  |  317  | 
|  318   /// Returns the [LoopClosureScope] for the loop [node] in [closureClassMaps]. |  318   /// Returns the [CapturedLoopScope] for the loop [node] in | 
|  319   LoopClosureScope getLoopClosureScope( |  319   /// [closureClassMaps]. | 
 |  320   CapturedLoopScope getCapturedLoopScope( | 
|  320       ClosureDataLookup closureLookup, ir.TreeNode node); |  321       ClosureDataLookup closureLookup, ir.TreeNode node); | 
|  321 } |  322 } | 
|  322  |  323  | 
|  323 /// Comparator for the canonical order or named arguments. |  324 /// Comparator for the canonical order or named arguments. | 
|  324 // TODO(johnniwinther): Remove this when named parameters are sorted in dill. |  325 // TODO(johnniwinther): Remove this when named parameters are sorted in dill. | 
|  325 int namedOrdering(ir.VariableDeclaration a, ir.VariableDeclaration b) { |  326 int namedOrdering(ir.VariableDeclaration a, ir.VariableDeclaration b) { | 
|  326   return a.name.compareTo(b.name); |  327   return a.name.compareTo(b.name); | 
|  327 } |  328 } | 
| OLD | NEW |