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

Unified Diff: pkg/compiler/lib/src/compiler.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/codegen.dart ('k') | pkg/compiler/lib/src/dart_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index daa630c1a5fe9659ae7d6b8b9145bd2acc238134..86a87f3cee323aeca919a52111c4a870640218fa 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1242,7 +1242,8 @@ abstract class Compiler extends DiagnosticListener {
ClassElement cls = element;
cls.ensureResolved(this);
cls.forEachLocalMember(enqueuer.resolution.addToWorkList);
- world.registerInstantiatedType(cls.rawType, globalDependencies);
+ backend.registerInstantiatedType(
+ cls.rawType, world, globalDependencies);
} else {
world.addToWorkList(element);
}
@@ -1280,11 +1281,11 @@ abstract class Compiler extends DiagnosticListener {
if (mainMethod.functionSignature.parameterCount != 0) {
// The first argument could be a list of strings.
backend.listImplementation.ensureResolved(this);
- world.registerInstantiatedType(
- backend.listImplementation.rawType, globalDependencies);
+ backend.registerInstantiatedType(
+ backend.listImplementation.rawType, world, globalDependencies);
backend.stringImplementation.ensureResolved(this);
- world.registerInstantiatedType(
- backend.stringImplementation.rawType, globalDependencies);
+ backend.registerInstantiatedType(
+ backend.stringImplementation.rawType, world, globalDependencies);
backend.registerMainHasArguments(world);
}
« no previous file with comments | « pkg/compiler/lib/src/common/codegen.dart ('k') | pkg/compiler/lib/src/dart_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698