OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.dynamic_call_enqueuer; | 5 library fletchc.dynamic_call_enqueuer; |
6 | 6 |
7 import 'dart:collection' show | 7 import 'dart:collection' show |
8 Queue; | 8 Queue; |
9 | 9 |
10 import 'package:compiler/src/universe/selector.dart' show | 10 import 'package:compiler/src/universe/selector.dart' show |
11 Selector; | 11 Selector; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 kind = kind, | 288 kind = kind, |
289 hashCode = Hashing.mixHashCodeBits(function.hashCode, kind.hashCode); | 289 hashCode = Hashing.mixHashCodeBits(function.hashCode, kind.hashCode); |
290 | 290 |
291 bool operator ==(other) { | 291 bool operator ==(other) { |
292 return other is Closurization && | 292 return other is Closurization && |
293 function == other.function && kind == other.kind; | 293 function == other.function && kind == other.kind; |
294 } | 294 } |
295 | 295 |
296 String toString() => "Closurization($function, $kind)"; | 296 String toString() => "Closurization($function, $kind)"; |
297 } | 297 } |
OLD | NEW |