diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-04 02:15:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-04 02:15:37 +0000 |
commit | f96f4492e0643cd654d3bdf042f5d023eca2c1c7 (patch) | |
tree | 64bcf07c41860b0aa4767d483aa48b168998d985 /llvm/lib/VMCore/Instruction.cpp | |
parent | 858f4e936201901d81fbaef548f30fcd54812177 (diff) | |
download | bcm5719-llvm-f96f4492e0643cd654d3bdf042f5d023eca2c1c7.tar.gz bcm5719-llvm-f96f4492e0643cd654d3bdf042f5d023eca2c1c7.zip |
Now that setcondinst has been eliminated, we can mark Value::SubclassID
const and remove the ugly mutator methods.
llvm-svn: 32860
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instruction.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp index 28912699791..b2eb87d49e9 100644 --- a/llvm/lib/VMCore/Instruction.cpp +++ b/llvm/lib/VMCore/Instruction.cpp @@ -49,10 +49,6 @@ Instruction::~Instruction() { } -void Instruction::setOpcode(unsigned opc) { - setValueType(Value::InstructionVal + opc); -} - void Instruction::setParent(BasicBlock *P) { if (getParent()) { if (!P) LeakDetector::addGarbageObject(this); |