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

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

Issue 779593002: Move elementAccess() from namer to emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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_backend/codegen/codegen.dart
diff --git a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
index f988e36e19ac7980af2a8ccf3fd1684f7b0f4d22..2ab15b7a8cea8aca9c4a3d9c83c1c349cd5b527f 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
@@ -171,7 +171,7 @@ class CodeGenerator extends tree_ir.Visitor<dynamic, js.Expression> {
List<js.Expression> arguments) {
registry.registerStaticInvocation(target.declaration);
- js.Expression elementAccess = glue.elementAccess(target);
+ js.Expression elementAccess = glue.globalPropertyAccess(target);
floitsch 2014/12/03 17:02:24 ditto: staticFunctionAccess
zarah 2014/12/05 08:22:49 Done.
List<js.Expression> compiledArguments =
selector.makeArgumentsList(target.implementation,
arguments,

Powered by Google App Engine
This is Rietveld 408576698