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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerBench.java

Issue 9113017: Add unitAboutToCompile() into DartCompilerListener (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerBench.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerBench.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerBench.java
index 3c86b7f350ac97ad7e5cb87740162c6f1dfdae38..c7aed3dc54c9619b6115e39d28dfd8edbb2b4a01 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerBench.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerBench.java
@@ -7,7 +7,6 @@ package com.google.dart.compiler.type;
import com.google.dart.compiler.CommandLineOptions.CompilerOptions;
import com.google.dart.compiler.CompilerConfiguration;
import com.google.dart.compiler.DartArtifactProvider;
-import com.google.dart.compiler.DartCompilationError;
import com.google.dart.compiler.DartCompilationPhase;
import com.google.dart.compiler.DartCompiler;
import com.google.dart.compiler.DartCompilerContext;
@@ -150,15 +149,7 @@ public class TypeAnalyzerBench {
}
private static DartCompilerListener getListener() {
- return new DartCompilerListener() {
- @Override
- public void onError(DartCompilationError event) {
- }
-
- @Override
- public void unitCompiled(DartUnit unit) {
- }
- };
+ return DartCompilerListener.EMPTY;
}
static class CollectingPhase implements DartCompilationPhase {

Powered by Google App Engine
This is Rietveld 408576698