Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: pkg/compiler/lib/src/types/type_mask.dart

Issue 2488353004: Remove Compiler access from ResolutionEnqueuer (Closed)
Patch Set: Updated cf. comments. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/types/masks.dart ('k') | pkg/compiler/lib/src/types/types.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/types/masks.dart ('k') | pkg/compiler/lib/src/types/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698