projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Now that setcondinst has been eliminated, we can mark Value::SubclassID
[oota-llvm.git]
/
lib
/
VMCore
/
Instruction.cpp
diff --git
a/lib/VMCore/Instruction.cpp
b/lib/VMCore/Instruction.cpp
index 2891269979122de4eb091a1eb4fb8a85d6a5a073..b2eb87d49e9fa7cf20eeae5dceac615de88ad2dd 100644
(file)
--- a/
lib/VMCore/Instruction.cpp
+++ b/
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);