| Index: pkg/compiler/lib/src/kernel/element_map.dart
|
| diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
|
| index 053cf6fab835040fc0c0a0147501390354199f82..84c16d251e9913d5087787791be3bb5c004169cd 100644
|
| --- a/pkg/compiler/lib/src/kernel/element_map.dart
|
| +++ b/pkg/compiler/lib/src/kernel/element_map.dart
|
| @@ -1043,3 +1043,9 @@ abstract class KernelToLocalsMap {
|
| LoopClosureRepresentationInfo getClosureRepresentationInfoForLoop(
|
| ClosureDataLookup closureLookup, ir.TreeNode node);
|
| }
|
| +
|
| +/// Comparator for the canonical order or named arguments.
|
| +// TODO(johnniwinther): Remove this when named parameters are sorted in dill.
|
| +int namedOrdering(ir.VariableDeclaration a, ir.VariableDeclaration b) {
|
| + return a.name.compareTo(b.name);
|
| +}
|
|
|