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

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

Issue 2278213003: Rename the global inference task and reduce it's API surface by introducing the (Closed)
Patch Set: cl comments 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/map_tracer_const_test.dart
diff --git a/tests/compiler/dart2js/map_tracer_const_test.dart b/tests/compiler/dart2js/map_tracer_const_test.dart
index 136534930d0f8efe0811e9b34c3e1bacf5cf4712..1bb6ca09546f9b67685b76319d296fb62606a0db 100644
--- a/tests/compiler/dart2js/map_tracer_const_test.dart
+++ b/tests/compiler/dart2js/map_tracer_const_test.dart
@@ -34,10 +34,10 @@ void main() {
expectedErrors: 0, expectedWarnings: 0);
compiler.stopAfterTypeInference = true;
asyncTest(() => compiler.run(uri).then((_) {
- var typesTask = compiler.typesTask;
- var typesInferrer = typesTask.typesInferrer;
+ var commonMasks = compiler.commonMasks;
+ var typesInferrer = compiler.globalInference.typesInferrer;
var element = findElement(compiler, 'closure');
var mask = typesInferrer.getReturnTypeOfElement(element);
- Expect.equals(typesTask.numType, simplify(mask, compiler));
+ Expect.equals(commonMasks.numType, simplify(mask, compiler));
}));
}
« no previous file with comments | « tests/compiler/dart2js/list_tracer_typed_data_length_test.dart ('k') | tests/compiler/dart2js/map_tracer_keys_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698