Added addJumpTableIndex
authorEvan Cheng <evan.cheng@apple.com>
Mon, 24 Apr 2006 06:42:15 +0000 (06:42 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 24 Apr 2006 06:42:15 +0000 (06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27956 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstrBuilder.h

index 1f877c0809fe32614bbcc544d962f23ba42af366..d29d53b63755036d0c193e47267cac8d7485a3dc 100644 (file)
@@ -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 {