[llvm-commits] [llvm] r52294 - /llvm/trunk/lib/VMCore/Instructions.cpp
Chris Lattner
sabre at nondot.org
Sun Jun 15 21:02:41 PDT 2008
Author: lattner
Date: Sun Jun 15 23:02:40 2008
New Revision: 52294
URL: http://llvm.org/viewvc/llvm-project?rev=52294&view=rev
Log:
fix pr2460
Modified:
llvm/trunk/lib/VMCore/Instructions.cpp
Modified: llvm/trunk/lib/VMCore/Instructions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Instructions.cpp?rev=52294&r1=52293&r2=52294&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Instructions.cpp (original)
+++ llvm/trunk/lib/VMCore/Instructions.cpp Sun Jun 15 23:02:40 2008
@@ -130,7 +130,8 @@
}
PHINode::~PHINode() {
- dropHungoffUses(OperandList);
+ if (OperandList)
+ dropHungoffUses(OperandList);
}
// removeIncomingValue - Remove an incoming value. This is useful if a
More information about the llvm-commits
mailing list