| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of masks; | 5 part of masks; |
| 6 | 6 |
| 7 /// An implementation of a [UniverseSelectorConstraints] that is consists if an
only | 7 /// An implementation of a [UniverseSelectorConstraints] that is consists if an
only |
| 8 /// increasing set of [TypeMask]s, that is, once a mask is added it cannot be | 8 /// increasing set of [TypeMask]s, that is, once a mask is added it cannot be |
| 9 /// removed. | 9 /// removed. |
| 10 class IncreasingTypeMaskSet extends UniverseSelectorConstraints { | 10 class IncreasingTypeMaskSet extends UniverseSelectorConstraints { |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 * invoked on this type mask. [selector] is used to ensure library | 349 * invoked on this type mask. [selector] is used to ensure library |
| 350 * privacy is taken into account. | 350 * privacy is taken into account. |
| 351 */ | 351 */ |
| 352 bool canHit(Element element, Selector selector, ClosedWorld closedWorld); | 352 bool canHit(Element element, Selector selector, ClosedWorld closedWorld); |
| 353 | 353 |
| 354 /** | 354 /** |
| 355 * Returns the [element] that is known to always be hit at runtime | 355 * Returns the [element] that is known to always be hit at runtime |
| 356 * on this mask. Returns null if there is none. | 356 * on this mask. Returns null if there is none. |
| 357 */ | 357 */ |
| 358 // TODO(johnniwinther): Move this method to [World]. | 358 // TODO(johnniwinther): Move this method to [World]. |
| 359 Element locateSingleElement(Selector selector, Compiler compiler); | 359 Element locateSingleElement(Selector selector, ClosedWorld closedWorld); |
| 360 } | 360 } |
| OLD | NEW |