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

Unified Diff: pkg/compiler/lib/src/inferrer/type_graph_nodes.dart

Issue 2721403006: Split NativeData (Closed)
Patch Set: Updated cf. comments. 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/inferrer/node_tracer.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
diff --git a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
index 2dfc6bcaaba04e44ae2653dc39c91b7598f86b09..7997fe3d3ea2d3291a653bdde048ea5b7a829bd1 100644
--- a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
+++ b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
@@ -471,7 +471,7 @@ class MemberTypeInformation extends ElementTypeInformation
giveUp(inferrer);
return safeType(inferrer);
}
- if (inferrer.isNativeElement(element)) {
+ if (inferrer.isNativeMember(element)) {
// Use the type annotation as the type for native elements. We
// also give up on inferring to make sure this element never
// goes in the work queue.
@@ -479,7 +479,7 @@ class MemberTypeInformation extends ElementTypeInformation
if (element.isField) {
return inferrer
.typeOfNativeBehavior(
- inferrer.backend.getNativeFieldLoadBehavior(element))
+ inferrer.backend.nativeData.getNativeFieldLoadBehavior(element))
.type;
} else {
assert(element.isFunction ||
@@ -493,7 +493,7 @@ class MemberTypeInformation extends ElementTypeInformation
} else {
return inferrer
.typeOfNativeBehavior(
- inferrer.backend.getNativeMethodBehavior(element))
+ inferrer.backend.nativeData.getNativeMethodBehavior(element))
.type;
}
}
« no previous file with comments | « pkg/compiler/lib/src/inferrer/node_tracer.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698