mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-25 21:22:30 +02:00 
			
		
		
		
	* when updating registers in RegUsedAfterInstruction, new reg. allocs should be ignored
git-svn-id: trunk@27711 -
This commit is contained in:
		
							parent
							
								
									8c86d64866
								
							
						
					
					
						commit
						8060d4a3f7
					
				| @ -1119,7 +1119,7 @@ Unit AoptObj; | ||||
|       function TAOptObj.RegUsedAfterInstruction(reg: Tregister; p: tai; | ||||
|        var AllUsedRegs: TAllUsedRegs): Boolean; | ||||
|        begin | ||||
|          AllUsedRegs[getregtype(reg)].Update(tai(p.Next)); | ||||
|          AllUsedRegs[getregtype(reg)].Update(tai(p.Next),true); | ||||
|          RegUsedAfterInstruction := | ||||
|            (AllUsedRegs[getregtype(reg)].IsUsed(reg)); { optimization and | ||||
|               (not(getNextInstruction(p,p)) or | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 florian
						florian