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

Unified Diff: tests/compiler/dart2js/field_type_simple_inferer_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/field_type_simple_inferer_test.dart
diff --git a/tests/compiler/dart2js/field_type_simple_inferer_test.dart b/tests/compiler/dart2js/field_type_simple_inferer_test.dart
index 534a7edaf7efbc0e6c11388f1c8e9b0b9f29e890..ad287786a35f5080b320e5d8f1eac59be8b0ef80 100644
--- a/tests/compiler/dart2js/field_type_simple_inferer_test.dart
+++ b/tests/compiler/dart2js/field_type_simple_inferer_test.dart
@@ -483,8 +483,8 @@ void doTest(String test, bool disableInlining, Map<String, Function> fields) {
name,
disableInlining,
(compiler, field) {
- TypeMask type = f(compiler.typesTask);
- var inferrer = compiler.typesTask.typesInferrer;
+ TypeMask type = f(compiler.commonMasks);
+ var inferrer = compiler.globalInference.typesInferrer;
TypeMask inferredType =
simplify(inferrer.getTypeOfElement(field), inferrer.compiler);
Expect.equals(type, inferredType, test);

Powered by Google App Engine
This is Rietveld 408576698