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

Unified Diff: pkg/compiler/lib/src/common/backend_api.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
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/common/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/backend_api.dart
diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
index d05b8448a82ecce2a8c886f93768878a87a69c9e..e375db2ff10e1d5dbc366fc30b44e3744aa5ea8a 100644
--- a/pkg/compiler/lib/src/common/backend_api.dart
+++ b/pkg/compiler/lib/src/common/backend_api.dart
@@ -15,7 +15,8 @@ import '../compiler.dart' show Compiler;
import '../constants/constant_system.dart' show ConstantSystem;
import '../constants/expressions.dart' show ConstantExpression;
import '../constants/values.dart' show ConstantValue;
-import '../elements/resolution_types.dart' show DartType, InterfaceType;
+import '../elements/resolution_types.dart'
+ show ResolutionDartType, ResolutionInterfaceType;
import '../elements/elements.dart'
show
ClassElement,
@@ -150,12 +151,12 @@ abstract class Backend extends Target {
/// Called to instruct to the backend register [type] as instantiated on
/// [enqueuer].
- void registerInstantiatedType(InterfaceType type) {}
+ void registerInstantiatedType(ResolutionInterfaceType type) {}
/// Register a runtime type variable bound tests between [typeArgument] and
/// [bound].
void registerTypeVariableBoundsSubtypeCheck(
- DartType typeArgument, DartType bound) {}
+ ResolutionDartType typeArgument, ResolutionDartType bound) {}
/// Called to instruct the backend to register that a closure exists for a
/// function on an instantiated generic class. Any backend specific
@@ -359,10 +360,10 @@ abstract class ForeignResolver {
ConstantExpression getConstant(Node node);
/// Registers [type] as instantiated.
- void registerInstantiatedType(InterfaceType type);
+ void registerInstantiatedType(ResolutionInterfaceType type);
/// Resolves [typeName] to a type in the context of [node].
- DartType resolveTypeFromString(Node node, String typeName);
+ ResolutionDartType resolveTypeFromString(Node node, String typeName);
}
/// Backend transformation methods for the world impacts.
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/common/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698