| Index: pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart
 | 
| diff --git a/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart
 | 
| index b38e403012cc96dc6ec7e3e6ddd0321bd1655290..55824e85035d0681458ce82da59bfc7bcd888c5d 100644
 | 
| --- a/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart
 | 
| +++ b/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart
 | 
| @@ -28,7 +28,7 @@ class MainCallStubGenerator {
 | 
|    jsAst.Statement generateInvokeMain() {
 | 
|      Element main = compiler.mainFunction;
 | 
|      jsAst.Expression mainCallClosure = null;
 | 
| -    if (compiler.hasIsolateSupport) {
 | 
| +    if (compiler.resolverWorld.hasIsolateSupport) {
 | 
|        Element isolateMain =
 | 
|            helpers.isolateHelperLibrary.find(BackendHelpers.START_ROOT_ISOLATE);
 | 
|        mainCallClosure = _buildIsolateSetupClosure(main, isolateMain);
 | 
| 
 |