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 4b0afaefac8443b800fd2fcad509a1d0511b5a83..f80d114c072df54219e2b07e09bdbae91d91d34c 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 |
@@ -176,7 +176,7 @@ class NsmEmitter extends CodeEmitterHelper { |
// Object class to catch noSuchMethod invocations. |
ClassEntity objectClass = compiler.commonElements.objectClass; |
jsAst.Expression createInvocationMirror = backend.emitter |
- .staticFunctionAccess(backend.helpers.createInvocationMirror); |
+ .staticFunctionAccess(compiler.commonElements.createInvocationMirror); |
if (useDiffEncoding) { |
statements.add(js.statement( |
'''{ |