aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstrBuilder.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-04-24 06:42:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-04-24 06:42:15 +0000
commitccdcdf3e2e5e9e30e0e2a99e40ac7199afcd9025 (patch)
tree989df37f066fe3967294c057f80fe121972f3a42 /include/llvm/CodeGen/MachineInstrBuilder.h
parent49bca8536cc7997813e6fcd68e4bfd5e61f6a79c (diff)
Added addJumpTableIndex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstrBuilder.h')
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h
index 1f877c0809..d29d53b637 100644
--- a/include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/include/llvm/CodeGen/MachineInstrBuilder.h
@@ -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 {