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

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

Issue 1374243002: Remove Registry arguments from Enqueuer. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment. Created 5 years, 3 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/js_backend/backend.dart ('k') | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 82b4fe514f2299e074c2c087b308b2fc70c0a5c5..6832d3301dedb7a5d2a232159de76d8e87b86042 100644
--- a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
+++ b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
@@ -52,7 +52,8 @@ class TypeVariableHandler {
}
_typeVariableConstructor = _typeVariableClass.constructors.head;
_backend.enqueueInResolution(_typeVariableConstructor, registry);
- enqueuer.registerInstantiatedType(_typeVariableClass.rawType, registry);
+ _backend.registerInstantiatedType(
+ _typeVariableClass.rawType, enqueuer, registry);
enqueuer.registerStaticUse(
_backend.registerBackendUse(_backend.getCreateRuntimeType()));
_seenClassesWithTypeVariables = true;
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698