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 653147ae7f8e590cfb40b82e841d65ee7bf924ba..648c162c3129d793061f637e0e44c35a651cdc37 100644 |
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
@@ -1118,13 +1118,12 @@ class SimpleTypeInferrerVisitor<T> |
Selector selector = elements.getSelector(node); |
String name = selector.name; |
handleStaticSend(node, selector, elements[node], arguments); |
- if (name == 'JS' || name == 'JS_EMBEDDED_GLOBAL') { |
+ if (name == 'JS' || name == 'JS_EMBEDDED_GLOBAL' || name == 'JS_BUILTIN') { |
native.NativeBehavior nativeBehavior = |
compiler.enqueuer.resolution.nativeEnqueuer.getNativeBehaviorOf(node); |
sideEffects.add(nativeBehavior.sideEffects); |
return inferrer.typeOfNativeBehavior(nativeBehavior); |
- } else if (name == 'JS_GET_NAME' |
- || name == 'JS_NULL_CLASS_NAME' |
+ } else if (name == 'JS_NULL_CLASS_NAME' |
|| name == 'JS_OBJECT_CLASS_NAME' |
|| name == 'JS_OPERATOR_IS_PREFIX' |
|| name == 'JS_OPERATOR_AS_PREFIX' |