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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java

Issue 9479013: Remove backends. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More clean up 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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
index 933e45d8d1029062c8412e6eb758b833286aee8e..05a45da82a2497e87d1ffe746a7c1173bbb16ce5 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
@@ -13,7 +13,6 @@
*/
package com.google.dart.tools.core.analysis;
-import com.google.dart.compiler.Backend;
import com.google.dart.compiler.CommandLineOptions.CompilerOptions;
import com.google.dart.compiler.CompilerConfiguration;
import com.google.dart.compiler.DartCompilationError;
@@ -42,14 +41,7 @@ import java.util.HashMap;
*/
class AnalysisUtility {
private static final CompilerConfiguration config = new DefaultCompilerConfiguration(
- new CompilerOptions(), SystemLibraryManagerProvider.getSystemLibraryManager(),
- new Backend[] {}) {
-
- @Override
- public boolean checkOnly() {
- return true;
- }
-
+ new CompilerOptions(), SystemLibraryManagerProvider.getSystemLibraryManager()) {
@Override
public boolean incremental() {
return false;

Powered by Google App Engine
This is Rietveld 408576698