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

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

Issue 1540973005: dart2js: minify 'static:' tag (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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/namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
index 4cd691e63c17c1d1b8415737e6faa7666acbc7fd..bd55710e4ae03ad4cac27fa955431f695927e73c 100644
--- a/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/pkg/compiler/lib/src/js_backend/namer.dart
@@ -356,6 +356,11 @@ class Namer {
jsAst.Name _literalSetterPrefix;
jsAst.Name _literalLazyGetterPrefix;
+ jsAst.Name _staticsPropertyName;
+
+ jsAst.Name get staticsPropertyName =>
+ _staticsPropertyName ??= new StringBackedName('static');
+
// Name of property in a class description for the native dispatch metadata.
final String nativeSpecProperty = '%';
« no previous file with comments | « pkg/compiler/lib/src/js_backend/frequency_namer.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698