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 55f9f290c18e6b14e4b93ec3457b5213a293f1f8..dbd8e3121903d65b9e8f428f6927d4ab149784d8 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 |
@@ -501,7 +501,7 @@ class FragmentEmitter { |
'nativeSupport': program.needsNativeSupport |
? emitNativeSupport(fragment) |
: new js.EmptyStatement(), |
- 'jsInteropSupport': backend.jsInteropAnalysis.enabledJsInterop |
+ 'jsInteropSupport': backend.nativeBasicData.isJsInteropUsed |
? backend.jsInteropAnalysis.buildJsInteropBootstrap() |
: new js.EmptyStatement(), |
'invokeMain': fragment.invokeMain, |