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

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

Issue 10963055: [dart2dart] Make removal of asserts and forcing type strips go under (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index c316b5c551d46de15b61ba2de4ac126b1ea1f123..0b8d762ec6edb292193cc24237c1fb61bc3861a3 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -197,7 +197,7 @@ class Compiler implements DiagnosticListener {
this.enableMinification = false,
bool emitJavaScript = true,
bool generateSourceMap = true,
- bool forceCutDeclarationTypes = false])
+ List<String> strips = const []])
: libraries = new Map<String, LibraryElement>(),
progress = new Stopwatch() {
progress.start();
@@ -213,7 +213,7 @@ class Compiler implements DiagnosticListener {
typesTask = new ti.TypesTask(this);
backend = emitJavaScript ?
new js_backend.JavaScriptBackend(this, generateSourceMap) :
- new dart_backend.DartBackend(this, forceCutDeclarationTypes);
+ new dart_backend.DartBackend(this, strips);
constantHandler = new ConstantHandler(this, backend.constantSystem);
enqueuer = new EnqueueTask(this);
tasks = [scanner, dietParser, parser, resolver, closureToClassMapper,

Powered by Google App Engine
This is Rietveld 408576698