mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 06:14:42 +00:00
Fix resolution of indirect function calls... whoops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92d5e30e76
commit
98d6f0ad03
@ -799,7 +799,7 @@ void DSGraph::markIncompleteNodes(unsigned Flags) {
|
||||
// Mark all global nodes as incomplete...
|
||||
if ((Flags & DSGraph::IgnoreGlobals) == 0)
|
||||
for (unsigned i = 0, e = Nodes.size(); i != e; ++i)
|
||||
if (Nodes[i]->NodeType & DSNode::GlobalNode)
|
||||
if (Nodes[i]->NodeType & DSNode::GlobalNode && Nodes[i]->getNumLinks())
|
||||
markIncompleteNode(Nodes[i]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user