Index: pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
index c37d5338e9d02c14656d6622e376ac0b5b295826..a4c3982416bdcd9ec0113d6b9677f81b3f975583 100644 |
--- a/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
@@ -91,7 +91,7 @@ class Emitter implements emitterTask.Emitter { |
} |
js.PropertyAccess _globalPropertyAccess(Element element) { |
- String name = namer.getNameX(element); |
+ String name = namer.globalPropertyName(element); |
js.PropertyAccess pa = new js.PropertyAccess.field( |
new js.VariableUse(namer.globalObjectFor(element)), |
name); |
@@ -101,13 +101,13 @@ class Emitter implements emitterTask.Emitter { |
@override |
js.Expression isolateLazyInitializerAccess(FieldElement element) { |
return js.js('#.#', [namer.globalObjectFor(element), |
- namer.getLazyInitializerName(element)]); |
+ namer.lazyInitializerName(element)]); |
} |
@override |
js.Expression isolateStaticClosureAccess(FunctionElement element) { |
return js.js('#.#()', |
- [namer.globalObjectFor(element), namer.getStaticClosureName(element)]); |
+ [namer.globalObjectFor(element), namer.staticClosureName(element)]); |
} |
@override |