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

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

Issue 10969008: [dart2dart] Rename --cut-declaration-types flag to --force-cut-declaration-types (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
« no previous file with comments | « lib/compiler/implementation/apiimpl.dart ('k') | lib/compiler/implementation/dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index 40d7b97c40c0c68ea1385cd7c99d8766951e3198..17ed94fb5ebc701034c5630a3868c64cfddf7fc2 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -189,7 +189,7 @@ class Compiler implements DiagnosticListener {
this.enableMinification = false,
bool emitJavaScript = true,
bool generateSourceMap = true,
- bool cutDeclarationTypes = false])
+ bool forceCutDeclarationTypes = false])
: libraries = new Map<String, LibraryElement>(),
progress = new Stopwatch() {
progress.start();
@@ -205,7 +205,7 @@ class Compiler implements DiagnosticListener {
typesTask = new ti.TypesTask(this);
backend = emitJavaScript ?
new js_backend.JavaScriptBackend(this, generateSourceMap) :
- new dart_backend.DartBackend(this, cutDeclarationTypes);
+ new dart_backend.DartBackend(this, forceCutDeclarationTypes);
constantHandler = new ConstantHandler(this, backend.constantSystem);
enqueuer = new EnqueueTask(this);
tasks = [scanner, dietParser, parser, resolver, closureToClassMapper,
« no previous file with comments | « lib/compiler/implementation/apiimpl.dart ('k') | lib/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698