mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
The incoming arguments to main (the argv list) are not complete!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20584 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a66e353cf9
commit
b5ecd2e378
@ -1482,7 +1482,6 @@ void DSGraph::markIncompleteNodes(unsigned Flags) {
|
||||
for (ReturnNodesTy::iterator FI = ReturnNodes.begin(), E =ReturnNodes.end();
|
||||
FI != E; ++FI) {
|
||||
Function &F = *FI->first;
|
||||
if (F.getName() != "main")
|
||||
for (Function::aiterator I = F.abegin(), E = F.aend(); I != E; ++I)
|
||||
if (isPointerType(I->getType()))
|
||||
markIncompleteNode(getNodeForValue(I).getNode());
|
||||
|
Loading…
Reference in New Issue
Block a user