Index: pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
index b1f69175da2bbb76f549f47771401af8b0ad91bd..5902c2d614e55f7ed5c3768d29302e9c8494dece 100644 |
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
@@ -541,7 +541,7 @@ class FragmentEmitter { |
'nativeSupport': program.needsNativeSupport |
? emitNativeSupport(fragment) |
: new js.EmptyStatement(), |
- 'jsInteropSupport': backend.nativeBasicData.isJsInteropUsed |
+ 'jsInteropSupport': _closedWorld.nativeData.isJsInteropUsed |
? backend.jsInteropAnalysis.buildJsInteropBootstrap() |
: new js.EmptyStatement(), |
'invokeMain': fragment.invokeMain, |