[llvm-commits] [llvm] r50944 - /llvm/trunk/include/llvm/Constants.h
Gabor Greif
ggreif at gmail.com
Sat May 10 02:36:59 PDT 2008
Author: ggreif
Date: Sat May 10 04:36:58 2008
New Revision: 50944
URL: http://llvm.org/viewvc/llvm-project?rev=50944&view=rev
Log:
remove commented-out code, it is subsumed by DECLARE_TRANSPARENT_OPERAND_ACCESSORS
Modified:
llvm/trunk/include/llvm/Constants.h
Modified: llvm/trunk/include/llvm/Constants.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constants.h?rev=50944&r1=50943&r2=50944&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Constants.h (original)
+++ llvm/trunk/include/llvm/Constants.h Sat May 10 04:36:58 2008
@@ -736,15 +736,6 @@
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) {
More information about the llvm-commits
mailing list