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

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

Issue 2324213003: build kernel for the entire program after resolution (Closed)
Patch Set: respond to comments Created 4 years, 3 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/ssa/kernel_impact.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/impact_test.dart
diff --git a/tests/compiler/dart2js/kernel/impact_test.dart b/tests/compiler/dart2js/kernel/impact_test.dart
index 6514e2172ffdef4e070f03a53535e00c9f2d7d46..0720bca222cd8b3f15effe1a0b711bd37913d67b 100644
--- a/tests/compiler/dart2js/kernel/impact_test.dart
+++ b/tests/compiler/dart2js/kernel/impact_test.dart
@@ -84,18 +84,17 @@ main(List<String> args) {
Compiler compiler = compilerFor(
entryPoint: entryPoint,
memorySourceFiles: SOURCE,
- options: [Flags.analyzeOnly]);
+ options: [Flags.analyzeOnly, Flags.useKernel]);
compiler.resolution.retainCachesForTesting = true;
await compiler.run(entryPoint);
- compiler.mainApp.forEachLocalMember(
- (element) => checkElement(compiler, element));
+ compiler.mainApp
+ .forEachLocalMember((element) => checkElement(compiler, element));
});
}
void checkElement(Compiler compiler, AstElement element) {
- ResolutionImpact astImpact =
- compiler.resolution.getResolutionImpact(element);
+ ResolutionImpact astImpact = compiler.resolution.getResolutionImpact(element);
ResolutionImpact kernelImpact = build(compiler, element.resolvedAst);
- testResolutionImpactEquivalence(astImpact, kernelImpact,
- const CheckStrategy());
+ testResolutionImpactEquivalence(
+ astImpact, kernelImpact, const CheckStrategy());
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_impact.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698