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

Unified Diff: pkg/compiler/lib/src/enqueue.dart

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased Created 3 years, 11 months 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/enqueue.dart
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
index 62734f16d46c2a159aee79f4437a5f3dad74a462..8b893361e4c4c847ecf4d184a908a9af2108fa21 100644
--- a/pkg/compiler/lib/src/enqueue.dart
+++ b/pkg/compiler/lib/src/enqueue.dart
@@ -14,7 +14,8 @@ import 'common/work.dart' show WorkItem;
import 'common.dart';
import 'compiler.dart' show Compiler, GlobalDependencyRegistry;
import 'options.dart';
-import 'elements/resolution_types.dart' show DartType, InterfaceType;
+import 'elements/resolution_types.dart'
+ show ResolutionDartType, ResolutionInterfaceType;
import 'elements/elements.dart'
show
AnalyzableElement,
@@ -183,7 +184,7 @@ class ResolutionEnqueuer extends EnqueuerImpl {
impactSource, worldImpact, _impactVisitor, impactUse);
}
- void _registerInstantiatedType(InterfaceType type,
+ void _registerInstantiatedType(ResolutionInterfaceType type,
{ConstructorElement constructor,
bool mirrorUsage: false,
bool nativeUsage: false,
@@ -274,7 +275,7 @@ class ResolutionEnqueuer extends EnqueuerImpl {
}
void processTypeUse(TypeUse typeUse) {
- DartType type = typeUse.type;
+ ResolutionDartType type = typeUse.type;
switch (typeUse.kind) {
case TypeUseKind.INSTANTIATION:
_registerInstantiatedType(type, globalDependency: false);
@@ -305,7 +306,7 @@ class ResolutionEnqueuer extends EnqueuerImpl {
}
}
- void _registerIsCheck(DartType type) {
+ void _registerIsCheck(ResolutionDartType type) {
type = _universe.registerIsCheck(type);
// Even in checked mode, type annotations for return type and argument
// types do not imply type checks, so there should never be a check
« no previous file with comments | « pkg/compiler/lib/src/elements/resolution_types.dart ('k') | pkg/compiler/lib/src/inferrer/inferrer_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698