aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-04 02:15:37 +0000
committerChris Lattner <sabre@nondot.org>2007-01-04 02:15:37 +0000
commit70d8d121eaa3a3982022f7146113416f9b3f26c1 (patch)
tree6d54c62649ff674bfbae5a6abad8e47294820434 /lib
parent898b2d52f9802fb8d9c426fa1c7e28c91cf2b1d8 (diff)
downloadexternal_llvm-70d8d121eaa3a3982022f7146113416f9b3f26c1.zip
external_llvm-70d8d121eaa3a3982022f7146113416f9b3f26c1.tar.gz
external_llvm-70d8d121eaa3a3982022f7146113416f9b3f26c1.tar.bz2
Now that setcondinst has been eliminated, we can mark Value::SubclassID
const and remove the ugly mutator methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Instruction.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp
index 2891269..b2eb87d 100644
--- 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);