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);