remove commented-out code, it is subsumed by DECLARE_TRANSPARENT_OPERAND_ACCESSORS
authorGabor Greif <ggreif@gmail.com>
Sat, 10 May 2008 09:36:58 +0000 (09:36 +0000)
committerGabor Greif <ggreif@gmail.com>
Sat, 10 May 2008 09:36:58 +0000 (09:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50944 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Constants.h

index a55c19a86bd421183dddaad18453cc36e72550bd..18cda19203d93fb674fc2bef1da9e6ad0b64299c 100644 (file)
@@ -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<Constant>(User::getOperand(i));
-  }
-  inline Constant *getOperand(unsigned i) const {
-    return const_cast<Constant*>(cast<Constant>(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) {