| 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 7287cf70515594b960b531e87ffcca5b2bf3fea9..66826b623f84299be8331e9ae77cbd1e91a50ca4 100644
|
| --- a/sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart
|
| +++ b/sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart
|
| @@ -135,4 +135,15 @@ enum JsBuiltin {
|
| ///
|
| /// JS_BUILTIN('', JsBuiltin.rawRuntimeType, o)
|
| rawRuntimeType,
|
| +
|
| + /// Returns whether the given type is a subtype of other.
|
| + ///
|
| + /// The argument `other` is the name of the potential supertype. It is
|
| + /// computed by `runtimeTypeToString`;
|
| + ///
|
| + /// *The `other` name must be passed in before the `type`.*
|
| + ///
|
| + /// JS_BUILTIN('returns:bool;effects:none;depends:none',
|
| + /// JsBuiltin.isSubtype, other, type);
|
| + isSubtype,
|
| }
|
|
|