aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-05-10 09:36:58 +0000
committerGabor Greif <ggreif@gmail.com>2008-05-10 09:36:58 +0000
commit469a58283023de8e1837932a85d06f2041e30932 (patch)
treed3e18f62df54f9f37b0c8b775339f62b8e3651f7 /include
parentefe65369a74871c3140a540a6c95ce5d1f080954 (diff)
downloadexternal_llvm-469a58283023de8e1837932a85d06f2041e30932.zip
external_llvm-469a58283023de8e1837932a85d06f2041e30932.tar.gz
external_llvm-469a58283023de8e1837932a85d06f2041e30932.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Constants.h9
1 files changed, 0 insertions, 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<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) {