Index: pkg/compiler/lib/src/js_backend/js_interop_analysis.dart |
diff --git a/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart b/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart |
index b4f0c76a502dc05dc87e7f9ec477df2dfdfb4c76..6fdc0ba86efe4d7be512ec3c44108f1dd91b4acf 100644 |
--- a/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart |
+++ b/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart |
@@ -19,7 +19,8 @@ class JsInteropAnalysis { |
JsInteropAnalysis(this.backend); |
jsAst.Statement buildJsInteropBootstrap() { |
- if (!backend.nativeBasicData.isJsInteropUsed) return null; |
+ if (!backend.compiler.frontendStrategy.nativeBasicData.isJsInteropUsed) |
+ return null; |
List<jsAst.Statement> statements = <jsAst.Statement>[]; |
backend.compiler.codegenWorldBuilder.forEachInvokedName( |
(String name, Map<Selector, SelectorConstraints> selectors) { |