Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.191 -> 1.192 --- Log message: add a method for hacking on JTIdx's --- Diffs of the changes: (+4 -0) MachineInstr.h | 4 ++++ 1 files changed, 4 insertions(+) Index: llvm/include/llvm/CodeGen/MachineInstr.h diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.191 llvm/include/llvm/CodeGen/MachineInstr.h:1.192 --- llvm/include/llvm/CodeGen/MachineInstr.h:1.191 Fri Oct 20 17:44:45 2006 +++ llvm/include/llvm/CodeGen/MachineInstr.h Sat Oct 28 13:18:36 2006 @@ -206,6 +206,10 @@ assert(isConstantPoolIndex() && "Wrong MachineOperand accessor"); contents.immedVal = Idx; } + void setJumpTableIndex(unsigned Idx) { + assert(isJumpTableIndex() && "Wrong MachineOperand accessor"); + contents.immedVal = Idx; + } /// isIdenticalTo - Return true if this operand is identical to the specified /// operand. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits