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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart

Issue 559833004: Cache snapshots of (mostly) immutable transformer phases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 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
Index: sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart b/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
index b36827b6bff8b5b869dffae778bb2aa8372c1e22..128734492b88ebeba577699ddaed802bde3db276 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
@@ -66,6 +66,8 @@ class Entrypoint {
result.summarizeChanges(type, dryRun: dryRun);
return loadPackageGraph(result);
}).then((packageGraph) {
+ packageGraph.loadTransformerCache().clearIfOutdated(
+ result.changedPackages);
return precompileExecutables(
changed: result.changedPackages).catchError((error, stackTrace) {
log.exception(error, stackTrace);

Powered by Google App Engine
This is Rietveld 408576698