Index: include/llvm/Object/ObjectFile.h |
=================================================================== |
--- include/llvm/Object/ObjectFile.h (revision 152141) |
+++ include/llvm/Object/ObjectFile.h (working copy) |
@@ -372,8 +372,7 @@ |
static ObjectFile *createObjectFile(MemoryBuffer *Object); |
static inline bool classof(const Binary *v) { |
- return v->getType() >= isObject && |
- v->getType() < lastObject; |
+ return v->isObject(); |
} |
static inline bool classof(const ObjectFile *v) { return true; } |