Remove unnecessary classof()'s
[oota-llvm.git] / include / llvm / Constant.h
index 7464dce3303fb0d0283120f969bdd66de4b03c03..7fecf4c7b4564d8517f9596c1c259babe2d35375 100644 (file)
@@ -108,8 +108,6 @@ public:
   virtual void destroyConstant() { llvm_unreachable("Not reached!"); }
 
   //// Methods for support type inquiry through isa, cast, and dyn_cast:
-  static inline bool classof(const Constant *) { return true; }
-  static inline bool classof(const GlobalValue *) { return true; }
   static inline bool classof(const Value *V) {
     return V->getValueID() >= ConstantFirstVal &&
            V->getValueID() <= ConstantLastVal;