| Index: dart/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
|
| ===================================================================
|
| --- dart/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart (revision 29808)
|
| +++ dart/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart (working copy)
|
| @@ -959,7 +959,7 @@
|
|
|
| emitMain(CodeBuffer buffer) {
|
| if (compiler.isMockCompilation) return;
|
| - Element main = compiler.mainApp.find(Compiler.MAIN);
|
| + Element main = compiler.mainFunction;
|
| String mainCall = null;
|
| if (compiler.hasIsolateSupport()) {
|
| Element isolateMain =
|
|
|