| Index: compiler/java/com/google/dart/compiler/DartCompiler.java
|
| diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
|
| index facb0d1151c69ef3919f3fc9f746cc09667219b6..ec1fb97e3d7b3243f1d260a841f072d3e1e3e8c3 100644
|
| --- a/compiler/java/com/google/dart/compiler/DartCompiler.java
|
| +++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
|
| @@ -19,8 +19,6 @@ import com.google.dart.compiler.ast.DartUnit;
|
| import com.google.dart.compiler.ast.LibraryNode;
|
| import com.google.dart.compiler.ast.LibraryUnit;
|
| import com.google.dart.compiler.ast.Modifiers;
|
| -import com.google.dart.compiler.ast.viz.ASTWriterFactory;
|
| -import com.google.dart.compiler.ast.viz.BaseASTWriter;
|
| import com.google.dart.compiler.common.SourceInfo;
|
| import com.google.dart.compiler.metrics.CompilerMetrics;
|
| import com.google.dart.compiler.metrics.DartEventType;
|
| @@ -725,9 +723,6 @@ public class DartCompiler {
|
| // Set entry point
|
| setEntryPoint();
|
|
|
| - // Dump the compiler parse tree if dump format is set in arguments
|
| - BaseASTWriter astWriter = ASTWriterFactory.create(config);
|
| -
|
| // The two following for loops can be parallelized.
|
| for (LibraryUnit lib : getLibrariesToProcess()) {
|
| boolean persist = false;
|
| @@ -735,8 +730,6 @@ public class DartCompiler {
|
| // Compile all the units in this library.
|
| for (DartUnit unit : lib.getUnits()) {
|
|
|
| - astWriter.process(unit);
|
| -
|
| // Don't compile diet units.
|
| if (unit.isDiet()) {
|
| continue;
|
| @@ -818,8 +811,6 @@ public class DartCompiler {
|
| }
|
|
|
| if (!config.resolveDespiteParseErrors() && context.getErrorCount() > 0) {
|
| - // Dump the compiler parse tree if dump format is set in arguments
|
| - ASTWriterFactory.create(config).process(unit);
|
| // We don't return this unit, so no more processing expected for it.
|
| context.unitCompiled(unit);
|
| return null;
|
|
|