* 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
with reginfo[supreg] do
begin
if aweight>weight then
weight:=aweight;
// if aweight>weight then
inc(weight,aweight);
if (live_range_direction=rad_forward) then
begin
if not assigned(live_start) then