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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart2js.dart

Issue 256743009: Cache output of dart2js compilations that went wrong on disk. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/compiler/implementation/dart2js.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/dart2js.dart (revision 35634)
+++ sdk/lib/_internal/compiler/implementation/dart2js.dart (working copy)
@@ -365,11 +365,11 @@
compilationDone(String code) {
if (analyzeOnly) return;
+ writeString(Uri.parse('$out.deps'),
+ getDepsOutput(inputProvider.sourceFiles));
if (code == null) {
fail('Compilation failed.');
}
- writeString(Uri.parse('$out.deps'),
- getDepsOutput(inputProvider.sourceFiles));
diagnosticHandler.info(
'Compiled ${inputProvider.dartCharactersRead} characters Dart '
'-> $totalCharactersWritten characters $outputLanguage '

Powered by Google App Engine
This is Rietveld 408576698