mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Constify SDNodeIterator an stop its only non-const user being cast stripped
of its constness. Found by gcc48 -Wcast-qual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163254 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -49,7 +49,7 @@ namespace llvm { | ||||
|  | ||||
|     template<typename EdgeIter> | ||||
|     static std::string getEdgeSourceLabel(const void *Node, EdgeIter I) { | ||||
|       return itostr(I - SDNodeIterator::begin((SDNode *) Node)); | ||||
|       return itostr(I - SDNodeIterator::begin((const SDNode *) Node)); | ||||
|     } | ||||
|  | ||||
|     /// edgeTargetsEdgeSource - This method returns true if this outgoing edge | ||||
|   | ||||
		Reference in New Issue
	
	Block a user