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

Unified Diff: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart

Issue 2639903004: Use entities.dart and types.dart in kernel impact computation. (Closed)
Patch Set: 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 | « no previous file | pkg/compiler/lib/src/ssa/kernel_impact.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
diff --git a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
index e989068641180fbd3f4dc83e331290a5e56dcd1f..00427558f1feb7d2eabeba8debf393f444518083 100644
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
@@ -569,6 +569,13 @@ class KernelAstAdapter {
optionalParameterTypes, namedParameters, namedParameterTypes);
}
+ ResolutionInterfaceType getInterfaceType(ir.DartType type) => getDartType(type);
Siggi Cherem (dart-lang) 2017/01/18 19:29:08 long line
Johnni Winther 2017/01/19 12:32:57 Done.
+
+ ResolutionInterfaceType createInterfaceType(
+ ClassElement cls, List<ResolutionDartType> typeArguments) {
+ return new ResolutionInterfaceType(cls, typeArguments);
+ }
+
/// Converts [annotations] into a list of [ConstantExpression]s.
List<ConstantExpression> getMetadata(List<ir.Expression> annotations) {
List<ConstantExpression> metadata = <ConstantExpression>[];
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/kernel_impact.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698