mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 00:59:30 +02: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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user