[llvm-commits] CVS: llvm/lib/VMCore/Instruction.cpp
Chris Lattner
sabre at nondot.org
Wed Jan 3 18:15:56 PST 2007
Changes in directory llvm/lib/VMCore:
Instruction.cpp updated: 1.61 -> 1.62
---
Log message:
Now that setcondinst has been eliminated, we can mark Value::SubclassID
const and remove the ugly mutator methods.
---
Diffs of the changes: (+0 -4)
Instruction.cpp | 4 ----
1 files changed, 4 deletions(-)
Index: llvm/lib/VMCore/Instruction.cpp
diff -u llvm/lib/VMCore/Instruction.cpp:1.61 llvm/lib/VMCore/Instruction.cpp:1.62
--- llvm/lib/VMCore/Instruction.cpp:1.61 Sat Dec 23 00:05:41 2006
+++ llvm/lib/VMCore/Instruction.cpp Wed Jan 3 20:15:37 2007
@@ -49,10 +49,6 @@
}
-void Instruction::setOpcode(unsigned opc) {
- setValueType(Value::InstructionVal + opc);
-}
-
void Instruction::setParent(BasicBlock *P) {
if (getParent()) {
if (!P) LeakDetector::addGarbageObject(this);
More information about the llvm-commits
mailing list