mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:29:26 +02:00
* removed a number of unnecessary calls to
cg.set_regalloc_live_range_direction git-svn-id: trunk@15518 -
This commit is contained in:
parent
ad93588fa1
commit
0cef599317
@ -991,12 +991,8 @@ implementation
|
|||||||
assign_regvars(code);
|
assign_regvars(code);
|
||||||
{$endif oldreg}
|
{$endif oldreg}
|
||||||
current_filepos:=entrypos;
|
current_filepos:=entrypos;
|
||||||
{ record which registers are allocated here, since all code }
|
|
||||||
{ allocating registers comes after it }
|
|
||||||
cg.set_regalloc_live_range_direction(rad_backwards);
|
|
||||||
|
|
||||||
gen_load_para_value(templist);
|
gen_load_para_value(templist);
|
||||||
cg.set_regalloc_live_range_direction(rad_forward);
|
|
||||||
|
|
||||||
{ caller paraloc info is also necessary in the stackframe_entry
|
{ caller paraloc info is also necessary in the stackframe_entry
|
||||||
code of the ppc (and possibly other processors) }
|
code of the ppc (and possibly other processors) }
|
||||||
@ -1122,7 +1118,9 @@ implementation
|
|||||||
|
|
||||||
aktproccode.insertlistafter(headertai,templist);
|
aktproccode.insertlistafter(headertai,templist);
|
||||||
|
|
||||||
|
{ re-enable if more code at the end is ever generated here
|
||||||
cg.set_regalloc_live_range_direction(rad_forward);
|
cg.set_regalloc_live_range_direction(rad_forward);
|
||||||
|
}
|
||||||
|
|
||||||
{ The procedure body is finished, we can now
|
{ The procedure body is finished, we can now
|
||||||
allocate the registers }
|
allocate the registers }
|
||||||
|
Loading…
Reference in New Issue
Block a user