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:
2c1d7cf
)
Fix a bug where we would mark the callees arguments incomplete if the caller was...
author
Chris Lattner
<sabre@nondot.org>
Sat, 8 Feb 2003 23:07:39 +0000
(23:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 8 Feb 2003 23:07:39 +0000
(23:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5510
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/TopDownClosure.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/TopDownClosure.cpp
b/lib/Analysis/DataStructure/TopDownClosure.cpp
index 8df60ba2fa8620b12f4023443552d37d383ecf72..d4a19dfae52884696e83955fed597c014ef83e92 100644
(file)
--- a/
lib/Analysis/DataStructure/TopDownClosure.cpp
+++ b/
lib/Analysis/DataStructure/TopDownClosure.cpp
@@
-197,8
+197,8
@@
void TDDataStructures::calculateGraph(Function &F) {
// Recompute the Incomplete markers and eliminate unreachable nodes.
CG.maskIncompleteMarkers();
- CG.markIncompleteNodes(
F.hasInternalLinkage() ? DSGraph::IgnoreFormalArgs:
- DSGraph::MarkFormalArgs
+ CG.markIncompleteNodes(
Callee->hasInternalLinkage() ?
+ DSGraph::
IgnoreFormalArgs : DSGraph::
MarkFormalArgs
/*&& FIXME: NEED TO CHECK IF ALL CALLERS FOUND!*/);
CG.removeDeadNodes(DSGraph::RemoveUnreachableGlobals);
}