Index: pkg/compiler/lib/src/js_emitter/native_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/native_emitter.dart b/pkg/compiler/lib/src/js_emitter/native_emitter.dart |
index fa590a4c709c20d24e66d19077e17ae77db4eec6..5a521f3779648cd7405bf0b2bae366e6f715e24a 100644 |
--- a/pkg/compiler/lib/src/js_emitter/native_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/native_emitter.dart |
@@ -86,7 +86,7 @@ class NativeEmitter { |
Class jsInterceptorClass = null; |
void walk(Class cls) { |
- if (cls.element == compiler.objectClass) { |
+ if (cls.element == compiler.coreClasses.objectClass) { |
objectClass = cls; |
return; |
} |