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

Unified Diff: pkg/compiler/lib/src/compiler.dart

Issue 1212613009: dart2js: Implement frequency based naming. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 7e4264936ff25fe7b85dd427f3394f5060a51a54..dff7158ee36864a03744c479009941865719337d 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -699,6 +699,8 @@ abstract class Compiler implements DiagnosticListener {
final bool enableMinification;
+ final bool useFrequencyNamer;
+
/// When `true` emits URIs in the reflection metadata.
final bool preserveUris;
@@ -1042,6 +1044,7 @@ abstract class Compiler implements DiagnosticListener {
bool analyzeSignaturesOnly: false,
this.preserveComments: false,
this.useCpsIr: false,
+ this.useFrequencyNamer: false,
this.verbose: false,
this.sourceMapUri: null,
this.outputUri: null,

Powered by Google App Engine
This is Rietveld 408576698