| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 1825)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -2139,13 +2139,6 @@
|
| virtual RawTypeArguments* GetTypeArguments() const;
|
| virtual void SetTypeArguments(const TypeArguments& value) const;
|
|
|
| - // Short version of IsInstanceOf with an instantiated type.
|
| - bool Is(const Type& type) const {
|
| - ASSERT(type.IsInstantiated());
|
| - const TypeArguments& no_instantiator = TypeArguments::Handle();
|
| - return TestType(kIsSubtypeOf, type, no_instantiator);
|
| - }
|
| -
|
| // Check if this instance is an instance of the given type.
|
| bool IsInstanceOf(const Type& type,
|
| const TypeArguments& type_instantiator) const {
|
|
|