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

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

Issue 753113002: Encode super calls via extra properties on prototypes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/js_backend/minify_namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/minify_namer.dart b/pkg/compiler/lib/src/js_backend/minify_namer.dart
index 8a3baa311d961e5f0b3a85dbd2db7dc3fd5728d4..fa88a0d3a225f93909c8c5aef35fc793dd8e3495 100644
--- a/pkg/compiler/lib/src/js_backend/minify_namer.dart
+++ b/pkg/compiler/lib/src/js_backend/minify_namer.dart
@@ -18,6 +18,7 @@ class MinifyNamer extends Namer {
final String getterPrefix = 'g';
final String setterPrefix = 's';
+ final String superPrefix = r's$';
floitsch 2014/11/24 10:47:52 Are you sure that you cannot have a conflict with
ahe 2014/11/25 09:33:03 I think this is problematic. It will likely confus
herhut 2014/11/25 14:03:19 We cannot have a $a, as it is not a valid name. Bu
herhut 2014/11/25 14:03:19 Acknowledged.
final String callPrefix = ''; // this will create function names $<n>
static const ALPHABET_CHARACTERS = 52; // a-zA-Z.

Powered by Google App Engine
This is Rietveld 408576698