summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit60bb622e4d8f30dac1f0f57ea0fcd0423c273631 (patch)
tree9b5b78cf84ad060fed1be9d223a2b54cf2a684ec /llvm
parentab0ee6340cd567ca941106c54d3e1d55264a9458 (diff)
downloadbcm5719-llvm-60bb622e4d8f30dac1f0f57ea0fcd0423c273631.tar.gz
bcm5719-llvm-60bb622e4d8f30dac1f0f57ea0fcd0423c273631.zip
Added addJumpTableIndex
llvm-svn: 27956
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstrBuilder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h
index 1f877c0809f..d29d53b6375 100644
--- a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/llvm/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 {
OpenPOWER on IntegriCloud