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

Unified Diff: pkg/compiler/lib/src/ssa/codegen.dart

Issue 2721403006: Split NativeData (Closed)
Patch Set: Created 3 years, 10 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/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index d9d49bb3da6c2f53cd4c2db555e520360db236ca..e4aa446e668428ca98d9e02da2e8c0bcd2b03ec4 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -1665,7 +1665,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
// Split returns a List, so we make sure the backend knows the
// list class is instantiated.
registry.registerInstantiatedClass(commonElements.listClass);
- } else if (backend.isNative(target) &&
+ } else if (backend.nativeData.isNativeMember(target) &&
target.isFunction &&
!node.isInterceptedCall) {
// A direct (i.e. non-interceptor) native call is the result of

Powered by Google App Engine
This is Rietveld 408576698