Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 1328) |
| +++ runtime/vm/object.h (working copy) |
| @@ -715,6 +715,11 @@ |
| return HasResolvedTypeClass() && (type_class() == Object::void_class()); |
| } |
| + bool IsObjectType() const { |
| + return HasResolvedTypeClass() && |
| + Class::Handle(type_class()).IsObjectClass(); |
| + } |
| + |
| // Check if this type represents the 'bool' interface. |
| bool IsBoolInterface() const; |