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:
152f19a
)
Add missing accessor.
author
Chris Lattner
<sabre@nondot.org>
Fri, 10 Dec 2004 20:35:47 +0000
(20:35 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 10 Dec 2004 20:35:47 +0000
(20:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18775
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instructions.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instructions.h
b/include/llvm/Instructions.h
index 62e6022ce1a9066377aa2345ed39d412d9e30f42..58cc1ee4f154d1b1533e178cab4752ad59125495 100644
(file)
--- a/
include/llvm/Instructions.h
+++ b/
include/llvm/Instructions.h
@@
-982,6
+982,8
@@
public:
//
inline const Value *getCondition() const { return Operands[0]; }
inline Value *getCondition() { return Operands[0]; }
+ void setCondition(Value *V) { Operands[0] = V; }
+
inline const BasicBlock *getDefaultDest() const {
return cast<BasicBlock>(Operands[1].get());
}