Index: dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart |
=================================================================== |
--- dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart (revision 29808) |
+++ dart/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart (working copy) |
@@ -163,7 +163,7 @@ |
TreeElements treeElements; |
LibraryElement get coreLibrary => compiler.coreLibrary; |
- FunctionElement get entryFunction => compiler.mainApp.find(Compiler.MAIN); |
+ FunctionElement get entryFunction => compiler.mainFunction; |
DartBackend get backend => compiler.backend; |
get currentFunctionScope => functionScopes.putIfAbsent( |