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

Unified Diff: tests/compiler/dart2js/list_tracer_typed_data_length_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
« no previous file with comments | « tests/compiler/dart2js/list_tracer_test.dart ('k') | tests/compiler/dart2js/map_tracer_const_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/list_tracer_typed_data_length_test.dart
diff --git a/tests/compiler/dart2js/list_tracer_typed_data_length_test.dart b/tests/compiler/dart2js/list_tracer_typed_data_length_test.dart
index 77aa7860d7c87b3cca8e5b01c98c3dcbcfa08233..594d26f9026dbea5a436c9fc8d3ff15622a8ab45 100644
--- a/tests/compiler/dart2js/list_tracer_typed_data_length_test.dart
+++ b/tests/compiler/dart2js/list_tracer_typed_data_length_test.dart
@@ -29,7 +29,7 @@ void main() {
asyncTest(() async {
CompilationResult result = await runCompiler(memorySourceFiles: TEST);
Compiler compiler = result.compiler;
- var typesInferrer = compiler.typesTask.typesInferrer;
+ var typesInferrer = compiler.globalInference.typesInferrer;
checkType(String name, type, length) {
var element = findElement(compiler, name);
@@ -40,7 +40,7 @@ void main() {
Expect.equals(container.length, length);
}
- checkType('myList', compiler.typesTask.numType, 42);
- checkType('myOtherList', compiler.typesTask.uint31Type, 32);
+ checkType('myList', compiler.commonMasks.numType, 42);
+ checkType('myOtherList', compiler.commonMasks.uint31Type, 32);
});
}
« no previous file with comments | « tests/compiler/dart2js/list_tracer_test.dart ('k') | tests/compiler/dart2js/map_tracer_const_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698