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:
fd373cb
)
free instructions mark their operands as being heap nodes.
author
Chris Lattner
<sabre@nondot.org>
Tue, 28 Jan 2003 20:59:57 +0000
(20:59 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 28 Jan 2003 20:59:57 +0000
(20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5425
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Local.cpp
b/lib/Analysis/DataStructure/Local.cpp
index 93c534abcf8edbf74898748c8c7c9e4fc18f483b..2df0fd434facbd4f29b0c1c10545c3e13b5ad3e0 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
lib/Analysis/DataStructure/Local.cpp
@@
-394,7
+394,8
@@
void GraphBuilder::visitCallInst(CallInst &CI) {
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...