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 ea9e8936c93e46883fcfed13a49ae9505fbab361..3b0127af347c40a4a9a650b0b8ab1f23cce9b190 100644 |
--- a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart |
+++ b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart |
@@ -473,7 +473,7 @@ class MemberTypeInformation extends ElementTypeInformation |
if (element.isField) { |
return inferrer |
.typeOfNativeBehavior( |
- native.NativeBehavior.ofFieldLoad(element, inferrer.compiler)) |
+ inferrer.backend.getNativeFieldLoadBehavior(element)) |
.type; |
} else { |
assert(element.isFunction || |
@@ -487,7 +487,7 @@ class MemberTypeInformation extends ElementTypeInformation |
} else { |
return inferrer |
.typeOfNativeBehavior( |
- native.NativeBehavior.ofMethod(element, inferrer.compiler)) |
+ inferrer.backend.getNativeMethodBehavior(element)) |
.type; |
} |
} |