From: Matthijs Kooijman Date: Fri, 30 May 2008 10:31:54 +0000 (+0000) Subject: Let Instruction::getOpcodeName() return something useful for the new X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=74b5e07cc4a65989eb43bdc016d51db3c192691f;p=oota-llvm.git 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 --- diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index 3330847c7ac..1fe7a2cc8b1 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 " "; }