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

Unified Diff: pkg/compiler/lib/src/common/codegen.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/common/backend_api.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/codegen.dart
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart
index 3a24bb695582c5eacb8ff57bf40372054b9b14c8..e220aabde260f63c44210af35cbfe1f25eaf553a 100644
--- a/pkg/compiler/lib/src/common/codegen.dart
+++ b/pkg/compiler/lib/src/common/codegen.dart
@@ -75,11 +75,11 @@ class CodegenRegistry extends Registry {
}
void registerInstantiatedClass(ClassElement element) {
- world.registerInstantiatedType(element.rawType, this);
+ backend.registerInstantiatedType(element.rawType, world, this);
}
void registerInstantiatedType(InterfaceType type) {
- world.registerInstantiatedType(type, this);
+ backend.registerInstantiatedType(type, world, this);
}
void registerStaticUse(Element element) {
@@ -169,7 +169,7 @@ class CodegenRegistry extends Registry {
}
void registerInstantiation(InterfaceType type) {
- world.registerInstantiatedType(type, this);
+ backend.registerInstantiatedType(type, world, this);
}
void registerAsyncMarker(FunctionElement element) {
« no previous file with comments | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698