From: Alkis Evlogimenos Date: Wed, 8 Dec 2004 03:45:20 +0000 (+0000) Subject: Use getOperand() and remove getElementAt() function. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=57ebabe9dcc584e360ba0d162935df55c40bf788;p=oota-llvm.git Use getOperand() and remove getElementAt() function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18612 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index fd960b3504d..0663d60bfd7 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -418,14 +418,6 @@ public: return false; } - Constant* getElementAt(unsigned i) const { - return cast(Operands[i]); - } - - unsigned getNumElements() const { - return Operands.size(); - } - virtual void destroyConstant(); virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, bool DisableChecking = false);