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

Unified Diff: dart/compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 9353015: Remove dartc optimizing backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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: dart/compiler/java/com/google/dart/compiler/DartCompiler.java
diff --git a/dart/compiler/java/com/google/dart/compiler/DartCompiler.java b/dart/compiler/java/com/google/dart/compiler/DartCompiler.java
index 09dcbc592758934f69cc1e7929a62e33b92d0784..23229097beec9d1234e62316450cff03ea4adf10 100644
--- a/dart/compiler/java/com/google/dart/compiler/DartCompiler.java
+++ b/dart/compiler/java/com/google/dart/compiler/DartCompiler.java
@@ -152,14 +152,8 @@ public class DartCompiler {
coreLibrarySource = context.getSystemLibraryFor(CORELIB_URL_SPEC);
embeddedLibraries.add(coreLibrarySource);
- if (config.shouldOptimize()) {
- // Optimizing turns off incremental compilation.
- incremental = false;
- usePrecompiledDartLibs = false;
- } else {
- incremental = config.incremental();
- usePrecompiledDartLibs = true;
- }
+ incremental = config.incremental();
+ usePrecompiledDartLibs = true;
}
private void compile() {

Powered by Google App Engine
This is Rietveld 408576698