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

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

Issue 1809533004: Support serialization of WorldImpact (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/js_backend/field_naming_mixin.dart
diff --git a/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart b/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart
index 0a89b42c528461f7a019af081a0d18eec51064c4..c821aeaf98a1326b99f19af798a46071610bd459 100644
--- a/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart
+++ b/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart
@@ -14,8 +14,9 @@ abstract class _MinifiedFieldNamer implements Namer {
// this could be because the field belongs to a mixin. In such a case this
// will return `null` and a normal field name has to be used.
jsAst.Name _minifiedInstanceFieldPropertyName(Element element) {
- if (backend.hasFixedBackendName(element)) {
- return new StringBackedName(backend.getFixedBackendName(element));
+ if (backend.nativeData.hasFixedBackendName(element)) {
+ return new StringBackedName(
+ backend.nativeData.getFixedBackendName(element));
}
_FieldNamingScope names;

Powered by Google App Engine
This is Rietveld 408576698