projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4eb44a
)
add a method for hacking on JTIdx's
author
Chris Lattner
<sabre@nondot.org>
Sat, 28 Oct 2006 18:18:36 +0000
(18:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 28 Oct 2006 18:18:36 +0000
(18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31270
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstr.h
b/include/llvm/CodeGen/MachineInstr.h
index 25a7b3fedb6ca6b2f3d91a082dd890443e6ef104..c20b95cad5d7c39347e44f05b96fcdde73f41148 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstr.h
+++ b/
include/llvm/CodeGen/MachineInstr.h
@@
-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.