From 37a580360c3df196e8dc6e075ba1bd24d83bbefc Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 4 May 2001 14:36:39 +0000 Subject: i386.c (ix86_emit_restore_regs_using_mov, [...]): Change `bool' parameter to `int'. * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change `bool' parameter to `int'. * hash.c (hash_lookup): Likewise. * hash.h (hash_lookup): Likewise. * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise. From-SVN: r41829 --- gcc/ChangeLog | 11 +++++++++++ gcc/config/i386/i386.c | 8 ++++---- gcc/hash.c | 2 +- gcc/hash.h | 2 +- gcc/tlink.c | 8 ++++---- 5 files changed, 21 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e7f264b..96ef027 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2001-05-04 Kaveh R. Ghazi + + * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change + `bool' parameter to `int'. + + * hash.c (hash_lookup): Likewise. + + * hash.h (hash_lookup): Likewise. + + * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise. + Fri May 4 13:10:03 CEST 2001 Jan Hubicka * i386.c (x86_initialize_trampoline): Fix mode of constant. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 689b3af5..3c31c49 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -559,7 +559,7 @@ static int ix86_split_to_parts PARAMS ((rtx, rtx *, enum machine_mode)); static int ix86_safe_length_prefix PARAMS ((rtx)); static int ix86_nsaved_regs PARAMS((void)); static void ix86_emit_save_regs PARAMS((void)); -static void ix86_emit_restore_regs_using_mov PARAMS ((rtx, int, bool)); +static void ix86_emit_restore_regs_using_mov PARAMS ((rtx, int, int)); static void ix86_emit_epilogue_esp_adjustment PARAMS((int)); static void ix86_set_move_mem_attrs_1 PARAMS ((rtx, rtx, rtx, rtx, rtx)); static void ix86_sched_reorder_pentium PARAMS((rtx *, rtx *)); @@ -599,7 +599,7 @@ static int ix86_fp_comparison_arithmetics_cost PARAMS ((enum rtx_code code)); static int ix86_fp_comparison_fcomi_cost PARAMS ((enum rtx_code code)); static int ix86_fp_comparison_sahf_cost PARAMS ((enum rtx_code code)); static int ix86_fp_comparison_cost PARAMS ((enum rtx_code code)); -static int ix86_save_reg PARAMS ((int, bool)); +static int ix86_save_reg PARAMS ((int, int)); static void ix86_compute_frame_layout PARAMS ((struct ix86_frame *)); /* Sometimes certain combinations of command options do not make @@ -2268,7 +2268,7 @@ gen_push (arg) static int ix86_save_reg (regno, maybe_eh_return) int regno; - bool maybe_eh_return; + int maybe_eh_return; { if (flag_pic && ! TARGET_64BIT @@ -2573,7 +2573,7 @@ static void ix86_emit_restore_regs_using_mov (pointer, offset, maybe_eh_return) rtx pointer; int offset; - bool maybe_eh_return; + int maybe_eh_return; { int regno; diff --git a/gcc/hash.c b/gcc/hash.c index 1b2cc7c..1cf6b68 100644 --- a/gcc/hash.c +++ b/gcc/hash.c @@ -87,7 +87,7 @@ struct hash_entry * hash_lookup (table, key, create, copy) struct hash_table *table; hash_table_key key; - bool create; + int create; hash_table_key (*copy) PARAMS ((struct obstack* memory, hash_table_key key)); { diff --git a/gcc/hash.h b/gcc/hash.h index 52bee12..bd75f94 100644 --- a/gcc/hash.h +++ b/gcc/hash.h @@ -96,7 +96,7 @@ extern void hash_table_free PARAMS ((struct hash_table *)); COPY is non-NULL, it is used to copy the KEY before storing it in the hash table. */ extern struct hash_entry *hash_lookup - PARAMS ((struct hash_table *, hash_table_key key, bool create, + PARAMS ((struct hash_table *, hash_table_key key, int create, hash_table_key (*copy)(struct obstack*, hash_table_key))); /* Base method for creating a hash table entry. */ diff --git a/gcc/tlink.c b/gcc/tlink.c index 1b797e1..8b8ca0c 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -72,7 +72,7 @@ static struct hash_entry * symbol_hash_newfunc PARAMS ((struct hash_entry *, struct hash_table *, hash_table_key)); static struct symbol_hash_entry * symbol_hash_lookup PARAMS ((const char *, - bool)); + int)); static struct hash_entry * file_hash_newfunc PARAMS ((struct hash_entry *, struct hash_table *, hash_table_key)); @@ -81,7 +81,7 @@ static struct hash_entry * demangled_hash_newfunc PARAMS ((struct hash_entry *, struct hash_table *, hash_table_key)); static struct demangled_hash_entry * - demangled_hash_lookup PARAMS ((const char *, bool)); + demangled_hash_lookup PARAMS ((const char *, int)); static void symbol_push PARAMS ((symbol *)); static symbol * symbol_pop PARAMS ((void)); static void file_push PARAMS ((file *)); @@ -129,7 +129,7 @@ symbol_hash_newfunc (entry, table, string) static struct symbol_hash_entry * symbol_hash_lookup (string, create) const char *string; - bool create; + int create; { return ((struct symbol_hash_entry *) hash_lookup (&symbol_table, (const hash_table_key) string, @@ -201,7 +201,7 @@ demangled_hash_newfunc (entry, table, string) static struct demangled_hash_entry * demangled_hash_lookup (string, create) const char *string; - bool create; + int create; { return ((struct demangled_hash_entry *) hash_lookup (&demangled_table, (const hash_table_key) string, -- cgit v1.1