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

Unified Diff: sdk/lib/_internal/compiler/implementation/enqueue.dart

Issue 118253004: Remove tracking of factories with type arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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: sdk/lib/_internal/compiler/implementation/enqueue.dart
diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart
index 986ebec06d94620ba6c28520e89836f9ea4b9e4a..599f018c5e9a9fb51f849a07574a97a15ec92955 100644
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -495,15 +495,6 @@ abstract class Enqueuer {
compiler.backend.registerIsCheck(type, this, elements);
}
- /**
- * If a factory constructor is used with type arguments, we lose track
- * which arguments could be used to create instances of classes that use their
- * type variables as expressions, so we have to remember if we saw such a use.
- */
- void registerFactoryWithTypeArguments(TreeElements elements) {
- universe.usingFactoryWithTypeArguments = true;
- }
-
void registerAsCheck(DartType type, TreeElements elements) {
registerIsCheck(type, elements);
compiler.backend.registerAsCheck(type, this, elements);

Powered by Google App Engine
This is Rietveld 408576698