From: Gabor Greif Date: Sat, 10 May 2008 09:36:58 +0000 (+0000) Subject: remove commented-out code, it is subsumed by DECLARE_TRANSPARENT_OPERAND_ACCESSORS X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=469a58283023de8e1837932a85d06f2041e30932;p=oota-llvm.git remove commented-out code, it is subsumed by DECLARE_TRANSPARENT_OPERAND_ACCESSORS git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50944 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {