mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	make sure to mark nodes returned from functions as incomplete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -1489,6 +1489,7 @@ void DSGraph::markIncompleteNodes(unsigned Flags) { | |||||||
|         for (Function::aiterator I = F.abegin(), E = F.aend(); I != E; ++I) |         for (Function::aiterator I = F.abegin(), E = F.aend(); I != E; ++I) | ||||||
|           if (isPointerType(I->getType())) |           if (isPointerType(I->getType())) | ||||||
|             markIncompleteNode(getNodeForValue(I).getNode()); |             markIncompleteNode(getNodeForValue(I).getNode()); | ||||||
|  |       markIncompleteNode(FI->second.getNode()); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   // Mark stuff passed into functions calls as being incomplete. |   // Mark stuff passed into functions calls as being incomplete. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user