aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-05-30 10:31:54 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-05-30 10:31:54 +0000
commit74b5e07cc4a65989eb43bdc016d51db3c192691f (patch)
tree518433fbbc9924962feeda949178a555e3b0b91b
parent37a61341656b1364c7a16fd2e104743e32bb4a10 (diff)
Let Instruction::getOpcodeName() return something useful for the new
insertvalue / extractvalue instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51766 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Instruction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp
index 3330847c7a..1fe7a2cc8b 100644
--- a/lib/VMCore/Instruction.cpp
+++ b/lib/VMCore/Instruction.cpp
@@ -141,6 +141,8 @@ const char *Instruction::getOpcodeName(unsigned OpCode) {
case InsertElement: return "insertelement";
case ShuffleVector: return "shufflevector";
case GetResult: return "getresult";
+ case ExtractValue: return "extractvalue";
+ case InsertValue: return "insertvalue";
default: return "<Invalid operator> ";
}