Chromium Code Reviews| Index: lib/compiler/implementation/compiler.dart |
| =================================================================== |
| --- lib/compiler/implementation/compiler.dart (revision 13403) |
| +++ lib/compiler/implementation/compiler.dart (working copy) |
| @@ -131,6 +131,7 @@ |
| ClassElement listClass; |
| Element assertMethod; |
| Element identicalFunction; |
| + Element functionApplyMethod; |
| Element get currentElement => _currentElement; |
| withCurrentElement(Element element, f()) { |
| @@ -178,6 +179,7 @@ |
| const SourceString('startRootIsolate'); |
| bool enabledNoSuchMethod = false; |
| bool enabledRuntimeType = false; |
| + bool enabledFunctionApply = false; |
| Stopwatch progress; |
| @@ -384,6 +386,10 @@ |
| identicalFunction = coreLibrary.find(const SourceString('identical')); |
| initializeSpecialClasses(); |
| + |
| + functionClass.ensureResolved(this); |
|
ahe
2012/10/09 12:12:26
I think this is problematic.
|
| + functionApplyMethod = |
| + functionClass.lookupLocalMember(const SourceString('apply')); |
| } |
| void loadCoreImplLibrary() { |