[ms-inline asm] Use the new API introduced in r165830 in lieu of the
[oota-llvm.git] / include / llvm / Object / Archive.h
index e6df85679d4e487d27c9efe5091335e533d58d47..f3d824960c2fc948c56063d927cb785f94d12dcc 100644 (file)
@@ -129,9 +129,8 @@ public:
   symbol_iterator end_symbols() const;
 
   // 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: