Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1397)

Unified Diff: pkg/compiler/lib/src/js_backend/js_interop_analysis.dart

Issue 2975433002: Assert that we don't mix K and J elements (Closed)
Patch Set: Updated cf. comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_serialization.dart ('k') | pkg/compiler/lib/src/js_backend/runtime_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698