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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart

Issue 11453032: Reapply class/method/field minification (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 8 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: sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
index 0b6c0f542924bf24f6acfabe93ff5c05d366f62c..9aec2bc93d016807a66ac52cfa838ac4368803a0 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
@@ -39,7 +39,7 @@ function(cls, constructor, prototype) {
// isolateProperties themselves.
return """
function(oldIsolate) {
- var isolateProperties = oldIsolate.${namer.ISOLATE_PROPERTIES};
+ var isolateProperties = oldIsolate.${namer.isolatePropertiesName};
function Isolate() {
for (var staticName in isolateProperties) {
if (Object.prototype.hasOwnProperty.call(isolateProperties, staticName)) {
@@ -54,7 +54,7 @@ function(oldIsolate) {
}
Isolate.prototype = oldIsolate.prototype;
Isolate.prototype.constructor = Isolate;
- Isolate.${namer.ISOLATE_PROPERTIES} = isolateProperties;
+ Isolate.${namer.isolatePropertiesName} = isolateProperties;
return Isolate;
}""";
}
@@ -108,6 +108,7 @@ $classesCollector.$mangledName = {'': function $mangledName(self, target) {
List<String> fields = <String>[];
visitClassFields(classElement, (Element member,
String name,
+ String accessorName,
bool needsGetter,
bool needsSetter,
bool needsCheckedSetter) {

Powered by Google App Engine
This is Rietveld 408576698