From 32c5d3a9ee27fe7e7d9a989f4e00db873dee0ec7 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 30 May 2008 10:31:54 +0000 Subject: [PATCH] Let Instruction::getOpcodeName() return something useful for the new insertvalue / extractvalue instructions. llvm-svn: 51766 --- lib/VMCore/Instruction.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 " "; }