Index: pkg/compiler/lib/src/inferrer/list_tracer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/list_tracer.dart b/pkg/compiler/lib/src/inferrer/list_tracer.dart |
index 96fc9d6b30b65fcf41fe29d1f8ef7c83056e6144..a9794ac63624efaedf4c1d50bbe755544464f191 100644 |
--- a/pkg/compiler/lib/src/inferrer/list_tracer.dart |
+++ b/pkg/compiler/lib/src/inferrer/list_tracer.dart |
@@ -5,7 +5,7 @@ |
library compiler.src.inferrer.list_tracer; |
import '../elements/elements.dart'; |
-import '../js_backend/backend_helpers.dart'; |
+import '../js_backend/backend.dart' show JavaScriptBackend; |
import '../universe/selector.dart' show Selector; |
import '../util/util.dart' show Setlet; |
import 'node_tracer.dart'; |
@@ -166,7 +166,7 @@ class ListTracerVisitor extends TracerVisitor { |
super.visitStaticCallSiteTypeInformation(info); |
Element called = info.calledElement; |
if (compiler.backend.isForeign(called) && |
- called.name == BackendHelpers.JS) { |
+ called.name == JavaScriptBackend.JS) { |
bailout('Used in JS ${info.call}'); |
} |
} |