| Index: sdk/lib/_internal/compiler/implementation/compiler.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/compiler.dart (revision 19764)
|
| +++ sdk/lib/_internal/compiler/implementation/compiler.dart (working copy)
|
| @@ -160,6 +160,9 @@
|
| ClassElement get numImplementation => compiler.numClass;
|
| ClassElement get stringImplementation => compiler.stringClass;
|
| ClassElement get listImplementation => compiler.listClass;
|
| + ClassElement get growableListImplementation => compiler.listClass;
|
| + ClassElement get fixedListImplementation => compiler.listClass;
|
| + ClassElement get constListImplementation => compiler.listClass;
|
| ClassElement get mapImplementation => compiler.mapClass;
|
| ClassElement get constMapImplementation => compiler.mapClass;
|
| ClassElement get functionImplementation => compiler.functionClass;
|
| @@ -599,6 +602,15 @@
|
| backend.initializeHelperClasses();
|
| }
|
|
|
| + Element _unnamedListConstructor;
|
| + Element get unnamedListConstructor {
|
| + if (_unnamedListConstructor != null) return _unnamedListConstructor;
|
| + Selector callConstructor = new Selector.callConstructor(
|
| + const SourceString(""), listClass.getLibrary());
|
| + return _unnamedListConstructor =
|
| + listClass.lookupConstructor(callConstructor);
|
| + }
|
| +
|
| void scanBuiltinLibraries() {
|
| jsHelperLibrary = scanBuiltinLibrary('_js_helper');
|
| interceptorsLibrary = scanBuiltinLibrary('_interceptors');
|
|
|