diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index a55c19a86bd..18cda19203d 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -736,15 +736,6 @@ public: virtual void destroyConstant(); virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U); -/* /// Override methods to provide more type information... - inline Constant *getOperand(unsigned i) { - return cast(User::getOperand(i)); - } - inline Constant *getOperand(unsigned i) const { - return const_cast(cast(User::getOperand(i))); - }*/ - - /// Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const ConstantExpr *) { return true; } static inline bool classof(const Value *V) {