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 244b4db58d
commit 32c5d3a9ee

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