Index: pkg/compiler/lib/src/inferrer/map_tracer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/map_tracer.dart b/pkg/compiler/lib/src/inferrer/map_tracer.dart |
index 3693663e1299f39f7b88393c3d3ec203dc491246..96eb3bda78a26f865953a260a0cf96eb3c26c064 100644 |
--- a/pkg/compiler/lib/src/inferrer/map_tracer.dart |
+++ b/pkg/compiler/lib/src/inferrer/map_tracer.dart |
@@ -5,7 +5,7 @@ |
library compiler.src.inferrer.map_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 'node_tracer.dart'; |
import 'type_graph_nodes.dart'; |
@@ -68,7 +68,7 @@ class MapTracerVisitor 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}'); |
} |
} |