Index: sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart |
diff --git a/sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart b/sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart |
index 0e455624f741db792198eb0864d112a6370574cf..83cc9c26e56322565ec19066e04d91ee72a6fb30 100644 |
--- a/sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart |
+++ b/sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart |
@@ -121,12 +121,6 @@ enum JsBuiltin { |
/// JS_BUILTIN('bool', JsBuiltin.isFunctionType, o) |
isFunctionType, |
- /// Returns true if the given type is the `Function` type literal. |
- /// |
- /// JS_BUILTIN('returns:bool;effects:none;depends:none', |
- /// JsBuiltin.isFunctionTypeLiteral, type); |
- isFunctionTypeLiteral, |
- |
/// Returns a new function type object. |
/// |
/// JS_BUILTIN('=Object', JsBuiltin.createFunctionType) |
@@ -154,6 +148,26 @@ enum JsBuiltin { |
/// JsBuiltin.isSubtype, other, type); |
isSubtype, |
+ /// Returns true if the given type is _the_ `Function` type. |
+ /// That is, it returns true if the given [type] is exactly the `Function` |
+ /// type rti-encoding. |
+ /// |
+ /// JS_BUILTIN('returns:bool;effects:none;depends:none', |
+ /// JsBuiltin.isFunctionTypeLiteral, type); |
+ isFunctionTypeRti, |
+ |
+ /// Returns whether the given type is _the_ null-type.. |
+ /// |
+ /// JS_BUILTIN('returns:bool;effects:none;depends:none', |
+ /// JsBuiltin.isNullType, type); |
+ isNullTypeRti, |
+ |
+ /// Returns whether the given type is _the_ Dart Object type. |
+ /// |
+ /// JS_BUILTIN('returns:bool;effects:none;depends:none', |
+ /// JsBuiltin.isDartObjectType, type); |
+ isDartObjectTypeRti, |
+ |
/// Returns the metadata of the given [index]. |
/// |
/// JS_BUILTIN('returns:var;effects:none;depends:none', |