summaryrefslogtreecommitdiff
path: root/gcc/reload.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-07 00:13:49 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-07 00:13:49 +0000
commite546118ab8d6a88f0db3c977a4be4a9dd8531e02 (patch)
treee5259015e97877779228c9060cf35c3201199c17 /gcc/reload.h
parent0fa3405d09521e33c9639861eece580160050c42 (diff)
downloadgcc-e546118ab8d6a88f0db3c977a4be4a9dd8531e02.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22876 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.h')
-rw-r--r--gcc/reload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload.h b/gcc/reload.h
index 58f6be3a101..e86296cb87c 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));