* accumulate register weight instead of taking only the maximum

git-svn-id: trunk@25433 -
This commit is contained in:
florian 2013-09-07 17:44:41 +00:00
parent cde2d1b8ee
commit dc567acc9a

View File

@ -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