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

Side by Side Diff: dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart

Issue 796353003: Incremental compiler detects when library graph changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42504. Created 6 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js_incremental; 5 library dart2js_incremental;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'dart:profiler' show 10 import 'dart:profiler' show
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 $dart_unsafe_eval.patch(#); 148 $dart_unsafe_eval.patch(#);
149 return main(args); 149 return main(args);
150 }""", updates); 150 }""", updates);
151 151
152 152
153 jsAst.Printer printer = new jsAst.Printer(_compiler, null); 153 jsAst.Printer printer = new jsAst.Printer(_compiler, null);
154 printer.blockOutWithoutBraces(mainRunner); 154 printer.blockOutWithoutBraces(mainRunner);
155 return printer.outBuffer.getText(); 155 return printer.outBuffer.getText();
156 } 156 }
157 } 157 }
158
159 class IncrementalCompilationFailed {
160 final String reason;
161
162 const IncrementalCompilationFailed(this.reason);
163
164 String toString() => "Can't incrementally compile program.\n\n$reason";
165 }
OLDNEW
« no previous file with comments | « no previous file | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698