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

Unified Diff: pkg/compiler/lib/src/native/enqueue.dart

Issue 2756103003: Split NativeBasicDataImpl (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/js_backend/native_data.dart ('k') | pkg/compiler/lib/src/native/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/native/enqueue.dart
diff --git a/pkg/compiler/lib/src/native/enqueue.dart b/pkg/compiler/lib/src/native/enqueue.dart
index 9757a7805b166ac4cd5ef1686f18d6afdbebd125..0953158f6787999736856ab01bfed37279d4e34f 100644
--- a/pkg/compiler/lib/src/native/enqueue.dart
+++ b/pkg/compiler/lib/src/native/enqueue.dart
@@ -104,7 +104,7 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer {
library.implementation.forEachLocalMember((Element element) {
if (element.isClass) {
ClassElement cls = element;
- if (backend.nativeBaseData.isNativeClass(cls)) {
+ if (backend.nativeBasicData.isNativeClass(cls)) {
processNativeClass(element);
}
}
@@ -145,7 +145,7 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer {
// fact a subclass of a native class.
ClassElement nativeSuperclassOf(ClassElement classElement) {
- if (backend.nativeBaseData.isNativeClass(classElement))
+ if (backend.nativeBasicData.isNativeClass(classElement))
return classElement;
if (classElement.superclass == null) return null;
return nativeSuperclassOf(classElement.superclass);
@@ -367,11 +367,11 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase {
super.processNativeClass(classElement);
// Js Interop interfaces do not have tags.
- if (backend.nativeBaseData.isJsInteropClass(classElement)) return;
+ if (backend.nativeBasicData.isJsInteropClass(classElement)) return;
// Since we map from dispatch tags to classes, a dispatch tag must be used
// on only one native class.
for (String tag
- in backend.nativeBaseData.getNativeTagsOfClass(classElement)) {
+ in backend.nativeBasicData.getNativeTagsOfClass(classElement)) {
ClassElement owner = tagOwner[tag];
if (owner != null) {
if (owner != classElement) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/native_data.dart ('k') | pkg/compiler/lib/src/native/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698