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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompilerMainContext.java

Issue 9384013: Remove DartIsolateStubGenerator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: 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 41b3b528e90c086db2eb8b1726bbe1e64d165970..0bbc0639b1412db604664e8823c874341d8233df 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
@@ -10,7 +10,6 @@ import com.google.dart.compiler.ast.DartUnit;
import com.google.dart.compiler.ast.LibraryUnit;
import com.google.dart.compiler.metrics.CompilerMetrics;
import com.google.dart.compiler.parser.DartParser;
-import com.google.dart.compiler.resolver.ResolverErrorCode;
import java.io.IOException;
import java.io.Reader;
@@ -70,8 +69,6 @@ final class DartCompilerMainContext implements DartCompilerListener, DartCompile
// Increment counters.
if (event.getErrorCode().getSubSystem() == SubSystem.STATIC_TYPE) {
incrementTypeErrorCount();
- } else if (shouldWarnOnNoSuchType() && event.getErrorCode() == ResolverErrorCode.NO_SUCH_TYPE) {
- incrementTypeErrorCount();
} else if (event.getErrorCode().getErrorSeverity() == ErrorSeverity.ERROR) {
incrementErrorCount();
} else if (event.getErrorCode().getErrorSeverity() == ErrorSeverity.WARNING) {
@@ -189,11 +186,6 @@ final class DartCompilerMainContext implements DartCompilerListener, DartCompile
}
@Override
- public boolean shouldWarnOnNoSuchType() {
- return compilerConfiguration.shouldWarnOnNoSuchType();
- }
-
- @Override
public CompilerConfiguration getCompilerConfiguration() {
return compilerConfiguration;
}

Powered by Google App Engine
This is Rietveld 408576698