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

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

Issue 2993153002: Use analyzeOnly in kernel/impact_test. (Closed)
Patch Set: Include constructors 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 | « pkg/compiler/lib/src/common/resolution.dart ('k') | tests/compiler/dart2js/kernel/impact_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/compiler_helper.dart
diff --git a/tests/compiler/dart2js/kernel/compiler_helper.dart b/tests/compiler/dart2js/kernel/compiler_helper.dart
index 810c34e33ee41d9466f776ad79b39786e7ae7d40..9f8980f8ce5589d9339caa836896faf1ee4c6cee 100644
--- a/tests/compiler/dart2js/kernel/compiler_helper.dart
+++ b/tests/compiler/dart2js/kernel/compiler_helper.dart
@@ -109,6 +109,7 @@ Future<Pair<Compiler, Compiler>> analyzeOnly(
Flags.useKernelInSsa,
Flags.enableAssertMessage
]);
+ compiler.resolution.retainCachesForTesting = true;
await compiler.run(entryPoint);
if (printSteps) {
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | tests/compiler/dart2js/kernel/impact_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698