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:
ec87aa8
)
fix pr2460
author
Chris Lattner
<sabre@nondot.org>
Mon, 16 Jun 2008 04:02:40 +0000
(
04:02
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 16 Jun 2008 04:02:40 +0000
(
04:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52294
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Instructions.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Instructions.cpp
b/lib/VMCore/Instructions.cpp
index a49f6a564c217c4afbfc3ceaa5f2193655ea3ee2..80a24f9ff9f3a83e4a5784692494002253a4a9ff 100644
(file)
--- a/
lib/VMCore/Instructions.cpp
+++ b/
lib/VMCore/Instructions.cpp
@@
-130,7
+130,8
@@
PHINode::PHINode(const PHINode &PN)
}
PHINode::~PHINode() {
- dropHungoffUses(OperandList);
+ if (OperandList)
+ dropHungoffUses(OperandList);
}
// removeIncomingValue - Remove an incoming value. This is useful if a