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

Unified Diff: lib/compiler/implementation/dart_backend/backend.dart

Issue 10860009: Remove unparse_validator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | lib/compiler/implementation/leg.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index 642763446cb524c1faa6c305a6e7e5b55026741a..8ec60cc3bdf2b00b230b8de8077126968eecaf2f 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -4,33 +4,20 @@
class DartBackend extends Backend {
final List<CompilerTask> tasks;
- final UnparseValidator unparseValidator;
Map<Element, TreeElements> get resolvedElements() =>
compiler.enqueuer.resolution.resolvedElements;
DartBackend(Compiler compiler, [bool validateUnparse = false])
: tasks = <CompilerTask>[],
- unparseValidator = new UnparseValidator(compiler, validateUnparse),
- super(compiler) {
- tasks.add(unparseValidator);
- }
-
- void enqueueHelpers(Enqueuer world) {
- // TODO(antonm): Implement this method, if needed.
- }
+ super(compiler);
+ void enqueueHelpers(Enqueuer world) { }
void codegen(WorkItem work) { }
-
void processNativeClasses(Enqueuer world,
- Collection<LibraryElement> libraries) {
- }
+ Collection<LibraryElement> libraries) { }
void assembleProgram() {
- resolvedElements.forEach((element, treeElements) {
- unparseValidator.check(element);
- });
-
/**
* Tells whether we should output given element. Corelib classes like
* Object should not be in the resulting code.
« no previous file with comments | « no previous file | lib/compiler/implementation/leg.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698