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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart

Issue 2814453005: Merge CommonElements and BackendHelpers! (Closed)
Patch Set: comments and re-merge, take two Created 3 years, 8 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/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(
'''{

Powered by Google App Engine
This is Rietveld 408576698