Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/compiler.dart (revision 22664) |
+++ sdk/lib/_internal/compiler/implementation/compiler.dart (working copy) |
@@ -848,6 +848,7 @@ |
if (hasIsolateSupport()) { |
enqueuer.codegen.addToWorkList( |
isolateHelperLibrary.find(Compiler.START_ROOT_ISOLATE)); |
+ enqueuer.codegen.registerGetOfStaticFunction(mainApp.find(MAIN)); |
} |
if (enabledNoSuchMethod) { |
enqueuer.codegen.registerInvocation(NO_SUCH_METHOD, noSuchMethodSelector); |