Chromium Code Reviews| Index: pkg/compiler/lib/src/js_backend/constant_emitter.dart |
| diff --git a/pkg/compiler/lib/src/js_backend/constant_emitter.dart b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
| index 4afb1359c30aa5bee56330b128b0f6a39ddf3052..db3e3bc238331fe6af68c8b5ae8cf14b7ee9473a 100644 |
| --- a/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
| +++ b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
| @@ -240,7 +240,7 @@ class ConstantLiteralEmitter implements ConstantValueVisitor<jsAst.Expression> { |
| } |
| jsAst.Expression getJsConstructor(ClassElement element) { |
| - return namer.elementAccess(element); |
| + return backend.emitter.globalPropertyAccess(element); |
|
floitsch
2014/12/03 17:02:24
emitter.constructorAccess
zarah
2014/12/05 08:22:49
Done.
|
| } |
| jsAst.Expression visitMap(JavaScriptMapConstant constant) { |
| @@ -322,7 +322,7 @@ class ConstantLiteralEmitter implements ConstantValueVisitor<jsAst.Expression> { |
| JavaScriptBackend get backend => compiler.backend; |
| jsAst.PropertyAccess getHelperProperty(Element helper) { |
| - return backend.namer.elementAccess(helper); |
| + return backend.emitter.globalPropertyAccess(helper); |
|
floitsch
2014/12/03 17:02:24
staticFunctionAccess
zarah
2014/12/05 08:22:49
Done.
|
| } |
| jsAst.Expression visitType(TypeConstantValue constant) { |