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

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

Issue 2998543002: Handle js interop members in impact computation. (Closed)
Patch Set: Updated cf. comments. Created 3 years, 4 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
« no previous file with comments | « pkg/compiler/lib/src/diagnostics/messages.dart ('k') | pkg/compiler/lib/src/js_backend/native_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend_serialization.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend_serialization.dart b/pkg/compiler/lib/src/js_backend/backend_serialization.dart
index b28bdc17a19d058ae66ba3c27215c421673b2da9..a025e961e85cc6bf8f991a0859e0d1cfcb178013 100644
--- a/pkg/compiler/lib/src/js_backend/backend_serialization.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_serialization.dart
@@ -65,15 +65,15 @@ class JavaScriptBackendSerializer implements SerializerPlugin {
return encoder ??= createEncoder(_BACKEND_DATA_TAG);
}
- String jsInteropLibraryName = nativeData.jsInteropLibraryNames[element];
+ String jsInteropLibraryName = nativeData.jsInteropLibraries[element];
if (jsInteropLibraryName != null) {
getEncoder().setString(JS_INTEROP_LIBRARY_NAME, jsInteropLibraryName);
}
- String jsInteropClassName = nativeData.jsInteropClassNames[element];
+ String jsInteropClassName = nativeData.jsInteropClasses[element];
if (jsInteropClassName != null) {
getEncoder().setString(JS_INTEROP_CLASS_NAME, jsInteropClassName);
}
- String jsInteropMemberName = nativeData.jsInteropMemberNames[element];
+ String jsInteropMemberName = nativeData.jsInteropMembers[element];
if (jsInteropMemberName != null) {
getEncoder().setString(JS_INTEROP_MEMBER_NAME, jsInteropMemberName);
}
@@ -135,13 +135,13 @@ class JavaScriptBackendDeserializer implements DeserializerPlugin {
String jsInteropLibraryName =
decoder.getString(JS_INTEROP_LIBRARY_NAME, isOptional: true);
if (jsInteropLibraryName != null) {
- nativeData.jsInteropLibraryNames[element] = jsInteropLibraryName;
+ nativeData.jsInteropLibraries[element] = jsInteropLibraryName;
}
} else if (element is ClassElement) {
String jsInteropClassName =
decoder.getString(JS_INTEROP_CLASS_NAME, isOptional: true);
if (jsInteropClassName != null) {
- nativeData.jsInteropClassNames[element] = jsInteropClassName;
+ nativeData.jsInteropClasses[element] = jsInteropClassName;
}
String nativeClassTagInfo =
decoder.getString(NATIVE_CLASS_TAG_INFO, isOptional: true);
@@ -153,7 +153,7 @@ class JavaScriptBackendDeserializer implements DeserializerPlugin {
String jsInteropMemberName =
decoder.getString(JS_INTEROP_MEMBER_NAME, isOptional: true);
if (jsInteropMemberName != null) {
- nativeData.jsInteropMemberNames[element] = jsInteropMemberName;
+ nativeData.jsInteropMembers[element] = jsInteropMemberName;
}
String nativeMemberName =
decoder.getString(NATIVE_MEMBER_NAME, isOptional: true);
« no previous file with comments | « pkg/compiler/lib/src/diagnostics/messages.dart ('k') | pkg/compiler/lib/src/js_backend/native_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698