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

Unified Diff: dart/site/try/src/compilation.dart

Issue 344203004: Improve incremental compilation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Kasper's comments. Created 6 years, 6 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 | « dart/site/try/src/caching_compiler.dart ('k') | dart/site/try/src/compiler_isolate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/compilation.dart
diff --git a/dart/site/try/src/compilation.dart b/dart/site/try/src/compilation.dart
index ef7102a78285992cecccd1746474f23315aec686..1817c24a09fa6dd06a616e7b4e1b6570d037a7ba 100644
--- a/dart/site/try/src/compilation.dart
+++ b/dart/site/try/src/compilation.dart
@@ -103,7 +103,12 @@ class CompilationProcess {
if (current != null) current.dispose();
current = this;
console.nodes.clear();
- var options = ['--disable-type-inference'];
+ var options = [
+ '--analyze-main',
+ '--disable-type-inference',
+ '--incremental-support',
+ '--no-source-maps',
+ ];
if (verboseCompiler) options.add('--verbose');
if (minified) options.add('--minify');
if (onlyAnalyze) options.add('--analyze-only');
« no previous file with comments | « dart/site/try/src/caching_compiler.dart ('k') | dart/site/try/src/compiler_isolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698