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

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: Fix minor test issues 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 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() {

Powered by Google App Engine
This is Rietveld 408576698