[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Local.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jan 28 15:01:00 PST 2003
Changes in directory llvm/lib/Analysis/DataStructure:
Local.cpp updated: 1.42 -> 1.43
---
Log message:
free instructions mark their operands as being heap nodes.
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/Local.cpp
diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.42 llvm/lib/Analysis/DataStructure/Local.cpp:1.43
--- llvm/lib/Analysis/DataStructure/Local.cpp:1.42 Thu Jan 23 16:05:33 2003
+++ llvm/lib/Analysis/DataStructure/Local.cpp Tue Jan 28 14:59:57 2003
@@ -394,7 +394,8 @@
void GraphBuilder::visitFreeInst(FreeInst &FI) {
// Mark that the node is written to...
- getValueDest(*FI.getOperand(0)).getNode()->NodeType |= DSNode::Modified;
+ getValueDest(*FI.getOperand(0)).getNode()->NodeType
+ |= DSNode::Modified | DSNode::HeapNode;
}
/// Handle casts...
More information about the llvm-commits
mailing list