| Index: lib/compiler/implementation/compile_time_constants.dart
|
| diff --git a/lib/compiler/implementation/compile_time_constants.dart b/lib/compiler/implementation/compile_time_constants.dart
|
| index 8b9dafcf095cad599ddc51ece3e76801c2f062a6..eff19e303f25693e663dfe2bb8b49c8d2c04d9a1 100644
|
| --- a/lib/compiler/implementation/compile_time_constants.dart
|
| +++ b/lib/compiler/implementation/compile_time_constants.dart
|
| @@ -285,8 +285,7 @@ class ListConstant extends ObjectConstant {
|
| void _writeJsCode(StringBuffer buffer, ConstantHandler handler) {
|
| // TODO(floitsch): we should not need to go through the compiler to make
|
| // the list constant.
|
| - String isolatePrototype = "${handler.compiler.namer.ISOLATE}.prototype";
|
| - buffer.add("$isolatePrototype.makeConstantList");
|
| + buffer.add("${handler.compiler.namer.ISOLATE}.makeConstantList");
|
| buffer.add("([");
|
| for (int i = 0; i < entries.length; i++) {
|
| if (i != 0) buffer.add(", ");
|
| @@ -693,7 +692,7 @@ class ConstantHandler extends CompilerTask {
|
| }
|
|
|
| String getJsConstructor(ClassElement element) {
|
| - return compiler.namer.isolatePropertyAccess(element);
|
| + return compiler.namer.initialStaticsAccess(element);
|
| }
|
| }
|
|
|
|
|