Let Instruction::getOpcodeName() return something useful for the new

insertvalue / extractvalue instructions.

llvm-svn: 51766
This commit is contained in:
Matthijs Kooijman 2008-05-30 10:31:54 +00:00
parent 18de624ca0
commit bf8d6cefde
1 changed files with 2 additions and 0 deletions

View File

@ -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> ";
}