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 cf33142a6236998d4e05412585019832280814e0..3ed9a09155b4d59992dc0514c30a432cec4bac36 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 |
@@ -129,7 +129,7 @@ jsAst.Statement buildSetupProgram( |
'finishedClassesAccess': finishedClassesAccess, |
'needsMixinSupport': emitter.needsMixinSupport, |
'needsNativeSupport': program.needsNativeSupport, |
- 'enabledJsInterop': backend.nativeBasicData.isJsInteropUsed, |
+ 'enabledJsInterop': closedWorld.nativeData.isJsInteropUsed, |
'jsInteropBoostrap': backend.jsInteropAnalysis.buildJsInteropBootstrap(), |
'isInterceptorClass': |
namer.operatorIs(closedWorld.commonElements.jsInterceptorClass), |