From 74b5e07cc4a65989eb43bdc016d51db3c192691f 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51766 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 " "; } -- 2.34.1