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

Unified Diff: pkg/compiler/lib/src/js_emitter/program_builder.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_emitter/program_builder.dart
diff --git a/pkg/compiler/lib/src/js_emitter/program_builder.dart b/pkg/compiler/lib/src/js_emitter/program_builder.dart
index d1800f70da6599a1e6a05e8f910897cbe4327b7d..b3348a01172cb0a52c94d312cbd1dc465f547efd 100644
--- a/pkg/compiler/lib/src/js_emitter/program_builder.dart
+++ b/pkg/compiler/lib/src/js_emitter/program_builder.dart
@@ -116,7 +116,7 @@ class ProgramBuilder {
// Construct the main output from the libraries and the registered holders.
MainOutput result = new MainOutput(
"", // The empty string is the name for the main output file.
- namer.elementAccess(_compiler.mainFunction),
+ backend.emitter.globalPropertyAccess(_compiler.mainFunction),
floitsch 2014/12/03 17:02:26 staticFunctionAccess
zarah 2014/12/05 08:22:51 Done.
_buildLibraries(fragment),
_buildStaticNonFinalFields(fragment),
_buildStaticLazilyInitializedFields(fragment),

Powered by Google App Engine
This is Rietveld 408576698