mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +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:
@@ -799,7 +799,7 @@ void DSGraph::markIncompleteNodes(unsigned Flags) {
|
|||||||
// Mark all global nodes as incomplete...
|
// Mark all global nodes as incomplete...
|
||||||
if ((Flags & DSGraph::IgnoreGlobals) == 0)
|
if ((Flags & DSGraph::IgnoreGlobals) == 0)
|
||||||
for (unsigned i = 0, e = Nodes.size(); i != e; ++i)
|
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]);
|
markIncompleteNode(Nodes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user