mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +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…
Reference in New Issue
Block a user