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

Unified Diff: tests/compiler/dart2js/type_combination_test.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/resolution/registry.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_combination_test.dart
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart
index 5d8e18d609d46349b9572f07259236746b91daa0..2dc9f61e9c18c5fed00344735f26112fdbe1110f 100644
--- a/tests/compiler/dart2js/type_combination_test.dart
+++ b/tests/compiler/dart2js/type_combination_test.dart
@@ -735,14 +735,20 @@ void main() {
backend.interceptorsLibrary.forEachLocalMember((element) {
if (element.isClass) {
element.ensureResolved(compiler);
- compiler.enqueuer.resolution.registerInstantiatedType(
- element.rawType, compiler.globalDependencies);
+ backend.registerInstantiatedType(
+ element.rawType,
+ compiler.enqueuer.resolution,
+ compiler.globalDependencies);
}
});
- compiler.enqueuer.resolution.registerInstantiatedType(
- compiler.coreTypes.mapType(), compiler.globalDependencies);
- compiler.enqueuer.resolution.registerInstantiatedType(
- compiler.coreTypes.functionType, compiler.globalDependencies);
+ backend.registerInstantiatedType(
+ compiler.coreTypes.mapType(),
+ compiler.enqueuer.resolution,
+ compiler.globalDependencies);
+ backend.registerInstantiatedType(
+ compiler.coreTypes.functionType,
+ compiler.enqueuer.resolution,
+ compiler.globalDependencies);
compiler.world.populate();
// Grab hold of a supertype for String so we can produce potential
« no previous file with comments | « pkg/compiler/lib/src/resolution/registry.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698