From 469a58283023de8e1837932a85d06f2041e30932 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Sat, 10 May 2008 09:36:58 +0000 Subject: 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 --- include/llvm/Constants.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index a55c19a..18cda19 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) { -- cgit v1.1