| Index: lib/compiler/implementation/compile_time_constants.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/compile_time_constants.dart (revision 11873)
|
| +++ lib/compiler/implementation/compile_time_constants.dart (working copy)
|
| @@ -917,7 +917,7 @@
|
| classElement.ensureResolved(compiler);
|
| // TODO(floitsch): copy over the generic type.
|
| DartType type = new InterfaceType(classElement);
|
| - compiler.registerInstantiatedClass(classElement);
|
| + compiler.enqueuer.codegen.registerInstantiatedClass(classElement);
|
| Constant constant = new MapConstant(type, keysList, values, protoValue);
|
| compiler.constantHandler.registerCompileTimeConstant(constant);
|
| return constant;
|
| @@ -1148,7 +1148,7 @@
|
| evaluator.evaluateConstructorFieldValues(arguments);
|
| List<Constant> jsNewArguments = evaluator.buildJsNewArguments(classElement);
|
|
|
| - compiler.registerInstantiatedClass(classElement);
|
| + compiler.enqueuer.codegen.registerInstantiatedClass(classElement);
|
| // TODO(floitsch): take generic types into account.
|
| DartType type = classElement.computeType(compiler);
|
| Constant constant = new ConstructedConstant(type, jsNewArguments);
|
|
|