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

Unified Diff: sdk/lib/_internal/compiler/implementation/closure.dart

Issue 12250002: dart2js: In minified mode shorter getter and setter names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: sdk/lib/_internal/compiler/implementation/closure.dart
diff --git a/sdk/lib/_internal/compiler/implementation/closure.dart b/sdk/lib/_internal/compiler/implementation/closure.dart
index 4ed156409e001a7808707c4121b955fdb9f9999f..1e35bb382a356387cbd7b3d5c64319c70ec5335d 100644
--- a/sdk/lib/_internal/compiler/implementation/closure.dart
+++ b/sdk/lib/_internal/compiler/implementation/closure.dart
@@ -70,6 +70,7 @@ class ClosureFieldElement extends ElementX {
// The names of closure variables don't need renaming, since their use is very
// simple and they have 1-character names in the minified mode.
bool hasFixedBackendName() => true;
+ bool fieldAccessNeverThrows() => true;
String fixedBackendName() => name.slowToString();
DartType computeType(Compiler compiler) => compiler.types.dynamicType;

Powered by Google App Engine
This is Rietveld 408576698