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

Unified Diff: tests/compiler/dart2js/dictionary_types_test.dart

Issue 2278213003: Rename the global inference task and reduce it's API surface by introducing the (Closed)
Patch Set: Created 4 years, 4 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
Index: tests/compiler/dart2js/dictionary_types_test.dart
diff --git a/tests/compiler/dart2js/dictionary_types_test.dart b/tests/compiler/dart2js/dictionary_types_test.dart
index f173c232674e9af7a252416f2a03baf80b90377c..afe9db55249c446174ffa374db61b68ac60c85bc 100644
--- a/tests/compiler/dart2js/dictionary_types_test.dart
+++ b/tests/compiler/dart2js/dictionary_types_test.dart
@@ -137,14 +137,14 @@ compileAndTest(source, checker, {createCode: false}) async {
memorySourceFiles: SOURCES,
beforeRun: (compiler) { compiler.stopAfterTypeInference = !createCode; });
var compiler = result.compiler;
- var typesTask = compiler.typesTask;
- var typesInferrer = typesTask.typesInferrer;
+ var commonMasks = compiler.commonMasks;
+ var typesInferrer = compiler.globalInference.typesInferrer;
getType(String name) {
var element = findElement(compiler, name);
return typesInferrer.getTypeOfElement(element);
}
if (!createCode) {
- checker(typesTask, getType, compiler);
+ checker(commonMasks, getType, compiler);
} else {
var element = compiler.mainFunction;
var code = compiler.backend.getGeneratedCode(element);

Powered by Google App Engine
This is Rietveld 408576698