Index: pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
index c6a222fb34aa1d42448a164a92dc92559e58cdd4..84da4110cfdcff7351f6d23022f5eb79f012ceeb 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
@@ -124,7 +124,7 @@ jsAst.Statement buildSetupProgram(Program program, Compiler compiler, |
'finishedClassesAccess': finishedClassesAccess, |
'needsMixinSupport': emitter.needsMixinSupport, |
'needsNativeSupport': program.needsNativeSupport, |
- 'enabledJsInterop': backend.jsInteropAnalysis.enabledJsInterop, |
+ 'enabledJsInterop': backend.nativeBasicData.isJsInteropUsed, |
'jsInteropBoostrap': backend.jsInteropAnalysis.buildJsInteropBootstrap(), |
'isInterceptorClass': |
namer.operatorIs(compiler.commonElements.jsInterceptorClass), |