| 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() {
|
|
|