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

Unified Diff: pkg/compiler/lib/src/js_backend/type_variable_handler.dart

Issue 1424923004: Add StaticUse for more precise registration of statically known element use. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_backend/type_variable_handler.dart
diff --git a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
index c00e46c0cd6284e67ef7ec6a2b08351d245d183b..3fb220a8fdab7efbde273c57f7d1ab0564312858 100644
--- a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
+++ b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
@@ -56,7 +56,9 @@ class TypeVariableHandler {
_backend.registerInstantiatedType(
_typeVariableClass.rawType, enqueuer, registry);
enqueuer.registerStaticUse(
- _backend.registerBackendUse(_backend.helpers.createRuntimeType));
+ new StaticUse.staticInvoke(
+ _backend.registerBackendUse(_backend.helpers.createRuntimeType),
+ CallStructure.ONE_ARG));
_seenClassesWithTypeVariables = true;
}
} else {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/resolution/access_semantics.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698