From ccdcdf3e2e5e9e30e0e2a99e40ac7199afcd9025 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 24 Apr 2006 06:42:15 +0000 Subject: [PATCH] Added addJumpTableIndex git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27956 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineInstrBuilder.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h index 1f877c0809f..d29d53b6375 100644 --- a/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/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 { -- 2.34.1