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

Unified Diff: pkg/kernel/lib/target/vm.dart

Issue 2713163002: Pass type arguments as a list in generic methods invocations (Closed)
Patch Set: Simplify 'isGenericMethod' procedure Created 3 years, 9 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/kernel/bin/reified_dart.dart ('k') | pkg/kernel/lib/target/vmreify.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/target/vm.dart
diff --git a/pkg/kernel/lib/target/vm.dart b/pkg/kernel/lib/target/vm.dart
index ed225449dd95610b8939b2bdcce16e0e4366092d..72c71658869437fed0e08320fc173a63dafe8926 100644
--- a/pkg/kernel/lib/target/vm.dart
+++ b/pkg/kernel/lib/target/vm.dart
@@ -83,7 +83,7 @@ class VmTarget extends Target {
setup_builtin_library.transformProgram(program);
if (strongMode) {
- new Erasure().transform(program);
+ performErasure(program);
}
new SanitizeForVM().transform(program);
@@ -99,4 +99,8 @@ class VmTarget extends Target {
.transform(program);
_hierarchy = null; // Hierarchy must be recomputed.
}
+
+ void performErasure(Program program) {
+ new Erasure().transform(program);
+ }
}
« no previous file with comments | « pkg/kernel/bin/reified_dart.dart ('k') | pkg/kernel/lib/target/vmreify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698