From 60bb622e4d8f30dac1f0f57ea0fcd0423c273631 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 24 Apr 2006 06:42:15 +0000 Subject: [PATCH] Added addJumpTableIndex llvm-svn: 27956 --- llvm/include/llvm/CodeGen/MachineInstrBuilder.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h index 1f877c0809fe..d29d53b63755 100644 --- a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h @@ -131,6 +131,11 @@ public: return *this; } + const MachineInstrBuilder &addJumpTableIndex(unsigned Idx) const { + MI->addJumpTableIndexOperand(Idx); + return *this; + } + const MachineInstrBuilder &addGlobalAddress(GlobalValue *GV, bool isPCRelative = false, int Offset = 0) const { -- GitLab