[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstrBuilder.h

Evan Cheng evan.cheng at apple.com
Sun Apr 23 23:42:27 PDT 2006



Changes in directory llvm/include/llvm/CodeGen:

MachineInstrBuilder.h updated: 1.29 -> 1.30
---
Log message:

Added addJumpTableIndex

---
Diffs of the changes:  (+5 -0)

 MachineInstrBuilder.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
diff -u llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.29 llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.30
--- llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.29	Sat Feb 25 03:52:55 2006
+++ llvm/include/llvm/CodeGen/MachineInstrBuilder.h	Mon Apr 24 01:42:15 2006
@@ -131,6 +131,11 @@
     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 {






More information about the llvm-commits mailing list