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:
49bca85
)
Added addJumpTableIndex
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 24 Apr 2006 06:42:15 +0000
(06:42 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 24 Apr 2006 06:42:15 +0000
(06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27956
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstrBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstrBuilder.h
b/include/llvm/CodeGen/MachineInstrBuilder.h
index 1f877c0809fe32614bbcc544d962f23ba42af366..d29d53b63755036d0c193e47267cac8d7485a3dc 100644
(file)
--- 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 {