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 955ea44ec0236f057a01dcbc459c55ffbdc344a2..2528dc0ea655705a9276f7554d062c4286038710 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() { |