Seemed to prefer reg_any registers, which caused addresses of procedures
to end up in data registers on the m68020. This is temporarily fixed, but actually, the descriptor files could be somewhat more general.
This commit is contained in:
parent
d08f533252
commit
aef050fa9e
@ -229,7 +229,7 @@ compute_profits(alloclist,time_opt)
|
|||||||
}
|
}
|
||||||
t = cnt * time - dyn_inits(alloc->al_inits) * otime;
|
t = cnt * time - dyn_inits(alloc->al_inits) * otime;
|
||||||
sc = (time_opt ? t : s);
|
sc = (time_opt ? t : s);
|
||||||
if (sc >= maxsc) {
|
if (sc > maxsc) {
|
||||||
maxsc = sc;
|
maxsc = sc;
|
||||||
alloc->al_regtype = rtyp;
|
alloc->al_regtype = rtyp;
|
||||||
alloc->al_profits = sc;
|
alloc->al_profits = sc;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user