diff options
author | Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> | 1998-10-06 18:13:49 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-06 18:13:49 -0600 |
commit | 437a710df01fbb24c920c80ee65803612c2b5ce2 (patch) | |
tree | e5259015e97877779228c9060cf35c3201199c17 /gcc/reload.h | |
parent | a4c3ddd83ae219749907c77f23787ffe085ed8c4 (diff) | |
download | gcc-437a710df01fbb24c920c80ee65803612c2b5ce2.zip gcc-437a710df01fbb24c920c80ee65803612c2b5ce2.tar.gz gcc-437a710df01fbb24c920c80ee65803612c2b5ce2.tar.bz2 |
caller-save.c (restore_referenced_regs): Lose mode argument.
* caller-save.c (restore_referenced_regs): Lose mode argument.
(insert_save): Lose mode argument.
(insert_restore): Lose mode argument.
(insert_one_insn): Lose mode argument.
(save_call_clobbered_regs): Lose mode argument.
(setup_save_areas): Take no argument and return void. All callers
changed.
Don't verify validity of memory addresses.
* reload.h (setup_save_ares): Adjust prototype.
(save_call_clobbered_regs): Likewise.
* reload1.c (delete_caller_save_insns): New function.
(caller_save_spill_class): Delete variable.
(caller_save_group_size): Delete variable.
(reload): Call setup_save_areas and save_call_clobbered_regs
in the main loop, before calling calculate_needs_all_insns.
Don't call save_call_clobbered_regs after the loop.
Call delete_caller_save_insns at the end of an iteration if
something changed.
Delete code to manage caller_save_spill_class.
Emit the final note before setting reload_first_uid.
Simplify test that determines whether reload_as_needed gets run.
(calculate_needs): Delete code to manage caller_save_spill_class.
From-SVN: r22876
Diffstat (limited to 'gcc/reload.h')
-rw-r--r-- | gcc/reload.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload.h b/gcc/reload.h index 58f6be3..e86296c 100644 --- a/gcc/reload.h +++ b/gcc/reload.h @@ -327,7 +327,7 @@ extern void init_caller_save PROTO((void)); extern void init_save_areas PROTO((void)); /* Allocate save areas for any hard registers that might need saving. */ -extern int setup_save_areas PROTO((int *)); +extern void setup_save_areas PROTO((void)); /* Find the places where hard regs are live across calls and save them. */ -extern void save_call_clobbered_regs PROTO((enum machine_mode)); +extern void save_call_clobbered_regs PROTO((void)); |