Chromium Code Reviews| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java |
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java |
| index dab94975e846105de4266eda6b4b59d17d071948..427491d877c0c5296374d5684f83335da0a857d5 100644 |
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java |
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java |
| @@ -13,7 +13,6 @@ |
| */ |
| package com.google.dart.tools.core.utilities.compiler; |
| -import com.google.dart.compiler.Backend; |
| import com.google.dart.compiler.CommandLineOptions.CompilerOptions; |
| import com.google.dart.compiler.CompilerConfiguration; |
| import com.google.dart.compiler.DartArtifactProvider; |
| @@ -25,7 +24,6 @@ import com.google.dart.compiler.Source; |
| import com.google.dart.compiler.SystemLibraryManager; |
| import com.google.dart.compiler.UrlLibrarySource; |
| import com.google.dart.compiler.UrlSource; |
| -import com.google.dart.compiler.backend.js.AbstractJsBackend; |
| import com.google.dart.compiler.metrics.CompilerMetrics; |
| import com.google.dart.compiler.util.DartSourceString; |
| import com.google.dart.tools.core.DartCore; |
| @@ -41,8 +39,6 @@ import java.io.PrintStream; |
| import java.io.Reader; |
| import java.io.Writer; |
| import java.net.URI; |
| -import java.util.ArrayList; |
| -import java.util.List; |
| /** |
| * Utility class for "warming up" the compiler by loading artifacts and performing some simple |
| @@ -87,7 +83,7 @@ public class DartCompilerWarmup { |
| // Don't write the final application JS and map files |
| - if (extension.equals(AbstractJsBackend.EXTENSION_APP_JS)) { |
| + if (extension.equals(DartCore.EXTENSION_APP_JS)) { |
|
zundel
2012/02/28 20:37:21
again, I'm not sure this test is useful anymore
scheglov
2012/02/29 22:46:41
Done.
|
| return new NullWriter(); |
| } |
| @@ -213,12 +209,6 @@ public class DartCompilerWarmup { |
| try { |
| CompilerConfiguration config = new DefaultCompilerConfiguration(options, sysLibMgr) { |
| - |
| - @Override |
| - public List<Backend> getBackends() { |
| - return new ArrayList<Backend>(); |
| - } |
| - |
| @Override |
| public CompilerMetrics getCompilerMetrics() { |
| return metrics; |