diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-04-24 06:42:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-04-24 06:42:15 +0000 |
commit | 60bb622e4d8f30dac1f0f57ea0fcd0423c273631 (patch) | |
tree | 9b5b78cf84ad060fed1be9d223a2b54cf2a684ec /llvm | |
parent | ab0ee6340cd567ca941106c54d3e1d55264a9458 (diff) | |
download | bcm5719-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.h | 5 |
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 { |