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

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: Addressed comments. 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..ea6dab875c7a1c426775619f9aacf1180c0fb59e 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.staticFunctionAccess(_compiler.mainFunction),
_buildLibraries(fragment),
_buildStaticNonFinalFields(fragment),
_buildStaticLazilyInitializedFields(fragment),
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/old_emitter/type_test_emitter.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698