Index: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
index ee949b9a90a41663e657f7df5802915755f96fe6..b148b11e8cff04ce64fd0459246c439f89cebb9c 100644 |
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
@@ -1513,8 +1513,7 @@ class SimpleTypeInferrerVisitor<T> |
String name = element.name; |
handleStaticSend(node, selector, mask, element, arguments); |
if (name == 'JS' || name == 'JS_EMBEDDED_GLOBAL' || name == 'JS_BUILTIN') { |
- native.NativeBehavior nativeBehavior = |
- compiler.enqueuer.resolution.nativeEnqueuer.getNativeBehaviorOf(node); |
+ native.NativeBehavior nativeBehavior = elements.getNativeData(node); |
sideEffects.add(nativeBehavior.sideEffects); |
return inferrer.typeOfNativeBehavior(nativeBehavior); |
} else if (name == 'JS_OPERATOR_AS_PREFIX' || name == 'JS_STRING_CONCAT') { |