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.fletch_enqueuer; | 5 library fletchc.fletch_enqueuer; |
6 | 6 |
7 import 'dart:collection' show | 7 import 'dart:collection' show |
8 Queue; | 8 Queue; |
9 | 9 |
10 import 'package:compiler/src/common/tasks.dart' show | 10 import 'package:compiler/src/common/tasks.dart' show |
11 CompilerTask; | 11 CompilerTask; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 | 331 |
332 TypeTest(ClassElement element, InterfaceType type) | 332 TypeTest(ClassElement element, InterfaceType type) |
333 : element = element, | 333 : element = element, |
334 type = type, | 334 type = type, |
335 hashCode = Hashing.mixHashCodeBits(element.hashCode, type.hashCode); | 335 hashCode = Hashing.mixHashCodeBits(element.hashCode, type.hashCode); |
336 | 336 |
337 bool operator ==(other) { | 337 bool operator ==(other) { |
338 return other is TypeTest && element == other.element && type == other.type; | 338 return other is TypeTest && element == other.element && type == other.type; |
339 } | 339 } |
340 } | 340 } |
OLD | NEW |