Chromium Code Reviews| Index: include/llvm/Object/Archive.h |
| =================================================================== |
| --- include/llvm/Object/Archive.h (revision 152141) |
| +++ include/llvm/Object/Archive.h (working copy) |
| @@ -131,7 +131,7 @@ |
| // Cast methods. |
| static inline bool classof(Archive const *v) { return true; } |
| static inline bool classof(Binary const *v) { |
| - return v->getType() == Binary::isArchive; |
| + return v->isArchive(); |
| } |
| private: |