diff --git a/include/llvm/User.h b/include/llvm/User.h index 1bd275a02b1..e9dea8bcbff 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -34,10 +34,6 @@ public: assert(i < Operands.size() && "setOperand() out of range!"); Operands[i] = Val; } - inline void eraseOperand(unsigned i) { - assert(i < Operands.size() && "setOperand() out of range!"); - Operands.erase(Operands.begin() + i); - } inline unsigned getNumOperands() const { return Operands.size(); } // ---------------------------------------------------------------------------