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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompilerMainContext.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/java/com/google/dart/compiler/DartCompilerMainContext.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java b/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
index 0b7e97263d95525a815752f444ede4d1ece42dd5..5bc90dbca4d78b03b06e2d8f5e9a020e960c8c8b 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
@@ -24,8 +24,7 @@ import java.util.concurrent.atomic.AtomicInteger;
* such should not be instantiated or subclassed by those outside the compiler
* itself.
*/
-final class DartCompilerMainContext extends DartCompilerListener implements
- DartCompilerContext {
+final class DartCompilerMainContext implements DartCompilerListener, DartCompilerContext {
private final LibrarySource lib;
private final DartArtifactProvider provider;
@@ -177,6 +176,10 @@ final class DartCompilerMainContext extends DartCompilerListener implements
}
@Override
+ public void unitAboutToCompile(DartSource source, boolean diet) {
+ }
+
+ @Override
public void unitCompiled(DartUnit unit) {
listener.unitCompiled(unit);
}

Powered by Google App Engine
This is Rietveld 408576698