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:
253231e
)
It is no longer 2001
author
Chris Lattner
<sabre@nondot.org>
Fri, 11 Jun 2004 21:12:22 +0000
(21:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 11 Jun 2004 21:12:22 +0000
(21:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14157
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/iPHINode.h
patch
|
blob
|
history
diff --git
a/include/llvm/iPHINode.h
b/include/llvm/iPHINode.h
index 0d577ccabd90228b31c7d01b157f4061709cc8ea..bd52993c1f0d0cdce693f7b1dba839b3e39d4ed7 100644
(file)
--- a/
include/llvm/iPHINode.h
+++ b/
include/llvm/iPHINode.h
@@
-76,10
+76,10
@@
public:
/// addIncoming - Add an incoming value to the end of the PHI list
///
- void addIncoming(Value *
D
, BasicBlock *BB) {
- assert(getType() ==
D
->getType() &&
+ void addIncoming(Value *
V
, BasicBlock *BB) {
+ assert(getType() ==
V
->getType() &&
"All operands to PHI node must be the same type as the PHI node!");
- Operands.push_back(Use(
D
, this));
+ Operands.push_back(Use(
V
, this));
Operands.push_back(Use(reinterpret_cast<Value*>(BB), this));
}