add a method for hacking on JTIdx's

llvm-svn: 31270
This commit is contained in:
Chris Lattner 2006-10-28 18:18:36 +00:00
parent cde339cf1e
commit 632232132a
1 changed files with 4 additions and 0 deletions

View File

@ -206,6 +206,10 @@ public:
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.