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:
c08bc9a
)
This will hopefully fix a heisenbug that Vladimir Merzliakov is running
author
Chris Lattner
<sabre@nondot.org>
Sat, 19 Jun 2004 19:01:26 +0000
(19:01 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 19 Jun 2004 19:01:26 +0000
(19:01 +0000)
into valiantly trying to compile stuff on freebsd.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14251
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/ExprTypeConvert.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/ExprTypeConvert.cpp
b/lib/Transforms/ExprTypeConvert.cpp
index bde24f0158a2210cf7f593dfe2bd936ffdf44ed8..f1a7733d5997f16efcd9406b17a63a90b214ec13 100644
(file)
--- a/
lib/Transforms/ExprTypeConvert.cpp
+++ b/
lib/Transforms/ExprTypeConvert.cpp
@@
-1166,6
+1166,7
@@
static void ConvertOperandToType(User *U, Value *OldVal, Value *NewVal,
while (OldPN->getNumOperands()) {
BasicBlock *BB = OldPN->getIncomingBlock(0);
Value *OldVal = OldPN->getIncomingValue(0);
+ ValueHandle OldValHandle(VMC, OldVal);
OldPN->removeIncomingValue(BB, false);
Value *V = ConvertExpressionToType(OldVal, NewTy, VMC, TD);
NewPN->addIncoming(V, BB);