| Index: sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
 | 
| diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
 | 
| index 1deab484f4229db115fa08a20db2404610c8c378..be1ffda5cb8cc819c129f9e4458acb226e1c2346 100644
 | 
| --- a/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
 | 
| +++ b/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
 | 
| @@ -163,7 +163,7 @@ class PlaceholderCollector extends Visitor {
 | 
|    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(
 | 
| 
 |