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

Unified Diff: pkg/compiler/lib/src/ssa/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
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/program_builder.dart ('k') | pkg/compiler/lib/src/ssa/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 865e32c550aabbe61a668c969b5d8ddab4abc645..239aea90b9eca8ad971c26caa358a7d947fce129 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -3759,7 +3759,7 @@ class SsaBuilder extends ResolvedVisitor {
registry.registerStaticUse(element);
push(new HForeign(js.js.expressionTemplateYielding(
- backend.namer.elementAccess(element)),
+ backend.emitter.staticFunctionAccess(element)),
backend.dynamicType,
<HInstruction>[]));
return params;
@@ -3802,7 +3802,8 @@ class SsaBuilder extends ResolvedVisitor {
compiler.internalError(node.argumentsNode, 'Too many arguments.');
}
push(new HForeign(js.js.expressionTemplateYielding(
- backend.namer.elementAccess(compiler.objectClass)),
+ backend.emitter.classAccess(
+ compiler.objectClass)),
backend.dynamicType,
<HInstruction>[]));
}
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/program_builder.dart ('k') | pkg/compiler/lib/src/ssa/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698