mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 16:39:24 +01:00 
			
		
		
		
	* accumulate register weight instead of taking only the maximum
git-svn-id: trunk@25433 -
This commit is contained in:
		
							parent
							
								
									cde2d1b8ee
								
							
						
					
					
						commit
						dc567acc9a
					
				@ -773,8 +773,8 @@ unit rgobj;
 | 
				
			|||||||
        if supreg>=first_imaginary then
 | 
					        if supreg>=first_imaginary then
 | 
				
			||||||
          with reginfo[supreg] do
 | 
					          with reginfo[supreg] do
 | 
				
			||||||
            begin
 | 
					            begin
 | 
				
			||||||
              if aweight>weight then
 | 
					              // if aweight>weight then
 | 
				
			||||||
                weight:=aweight;
 | 
					              inc(weight,aweight);
 | 
				
			||||||
              if (live_range_direction=rad_forward) then
 | 
					              if (live_range_direction=rad_forward) then
 | 
				
			||||||
                begin
 | 
					                begin
 | 
				
			||||||
                  if not assigned(live_start) then
 | 
					                  if not assigned(live_start) then
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user