Index: pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
index f14b9a3786849c8ec8be83ca85ce94e4f8363fd2..f8911bd08d7377b612706706c727e3c3f927288c 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart |
@@ -160,7 +160,7 @@ class NsmEmitter extends CodeEmitterHelper { |
} |
// Startup code that loops over the method names and puts handlers on the |
// Object class to catch noSuchMethod invocations. |
- ClassElement objectClass = compiler.objectClass; |
+ ClassElement objectClass = compiler.coreClasses.objectClass; |
jsAst.Expression createInvocationMirror = backend.emitter |
.staticFunctionAccess(backend.helpers.createInvocationMirror); |
if (useDiffEncoding) { |