[llvm-commits] CVS: llvm/include/llvm/User.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 1 18:42:01 PDT 2002
Changes in directory llvm/include/llvm:
User.h updated: 1.15 -> 1.16
---
Log message:
- Remove the User::eraseOperand method which is never used, really
dangerous, and not something we want to expose.
---
Diffs of the changes:
Index: llvm/include/llvm/User.h
diff -u llvm/include/llvm/User.h:1.15 llvm/include/llvm/User.h:1.16
--- llvm/include/llvm/User.h:1.15 Mon Sep 16 11:06:12 2002
+++ llvm/include/llvm/User.h Tue Oct 1 18:41:17 2002
@@ -34,10 +34,6 @@
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(); }
// ---------------------------------------------------------------------------
More information about the llvm-commits
mailing list