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:
c2b5dcb
)
Slight efficiency improvement
author
Chris Lattner
<sabre@nondot.org>
Thu, 23 Jan 2003 21:31:16 +0000
(21:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 23 Jan 2003 21:31:16 +0000
(21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5418
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 23b9bea4ebdf13801abc684c994350b50bb657a6..f40080a913913fa3c42cf7f982237b3d52996dea 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
lib/Analysis/DataStructure/Local.cpp
@@
-393,11
+393,8
@@
void GraphBuilder::visitCallInst(CallInst &CI) {
}
void GraphBuilder::visitFreeInst(FreeInst &FI) {
- DSNodeHandle Dest = getValueDest(*FI.getOperand(0));
- if (Dest.getNode() == 0) return;
-
// Mark that the node is written to...
-
Dest
.getNode()->NodeType |= DSNode::Modified;
+
getValueDest(*FI.getOperand(0))
.getNode()->NodeType |= DSNode::Modified;
}
/// Handle casts...