| Index: dart/lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/dart/lib/compiler/implementation/ssa/codegen.dart b/dart/lib/compiler/implementation/ssa/codegen.dart
|
| index c60dcc527ce68a94f97c2e0c4d7e370f19866d92..e4437cf32676fd576ae0f599a32e9e656bff0308 100644
|
| --- a/dart/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/dart/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -1507,8 +1507,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
|
|
| visitFieldGet(HFieldGet node) {
|
| if (!node.isFromActivation()) {
|
| - String name =
|
| - compiler.namer.instanceFieldName(currentLibrary, node.name);
|
| + String name = compiler.namer.getName(node.element);
|
| beginExpression(JSPrecedence.MEMBER_PRECEDENCE);
|
| use(node.receiver, JSPrecedence.MEMBER_PRECEDENCE);
|
| buffer.add('.');
|
| @@ -1522,8 +1521,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| visitFieldSet(HFieldSet node) {
|
| String name;
|
| if (!node.isFromActivation()) {
|
| - name =
|
| - compiler.namer.instanceFieldName(currentLibrary, node.name);
|
| + name = compiler.namer.getName(node.element);
|
| beginExpression(JSPrecedence.ASSIGNMENT_PRECEDENCE);
|
| use(node.receiver, JSPrecedence.MEMBER_PRECEDENCE);
|
| buffer.add('.');
|
|
|