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

Unified Diff: tests/compiler/dart2js/kernel/loops_test.dart

Issue 2997413002: Support --use-kernel in memory_compiler (Closed)
Patch Set: Remove hack in source_loader Created 3 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/kernel/literals_test.dart ('k') | tests/compiler/dart2js/kernel/switch_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/loops_test.dart
diff --git a/tests/compiler/dart2js/kernel/loops_test.dart b/tests/compiler/dart2js/kernel/loops_test.dart
index 13a75e759e82f50e6ae6d5a719e7ee500c2c631b..45570a774215ac635693a4373343aa9ffa7d07c2 100644
--- a/tests/compiler/dart2js/kernel/loops_test.dart
+++ b/tests/compiler/dart2js/kernel/loops_test.dart
@@ -67,7 +67,7 @@ main() {
// This is the same test as above, but by enabling type inference
// we allow the compiler to detect that it can iterate over the
// array using indexing.
- return check(code, disableTypeInference: false);
+ return check(code, disableTypeInference: false, useKernelInSsa: true);
});
test('for-in loop top-level variable', () {
@@ -80,7 +80,7 @@ main() {
}
return sum;
}''';
- return check(code, disableTypeInference: false);
+ return check(code, disableTypeInference: false, useKernelInSsa: true);
});
test('for loop with break to label', () {
@@ -97,6 +97,6 @@ main() {
}
return sum;
}''';
- return check(code, disableTypeInference: false);
+ return check(code, disableTypeInference: false, useKernelInSsa: true);
});
}
« no previous file with comments | « tests/compiler/dart2js/kernel/literals_test.dart ('k') | tests/compiler/dart2js/kernel/switch_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698