Now that setcondinst has been eliminated, we can mark Value::SubclassID
[oota-llvm.git] / lib / VMCore / Instruction.cpp
index 2891269979122de4eb091a1eb4fb8a85d6a5a073..b2eb87d49e9fa7cf20eeae5dceac615de88ad2dd 100644 (file)
@@ -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);