Commit 37a58036 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent e7a4892c
2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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 <jh@suse.cz> Fri May 4 13:10:03 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.c (x86_initialize_trampoline): Fix mode of constant. * i386.c (x86_initialize_trampoline): Fix mode of constant.
......
...@@ -559,7 +559,7 @@ static int ix86_split_to_parts PARAMS ((rtx, rtx *, enum machine_mode)); ...@@ -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_safe_length_prefix PARAMS ((rtx));
static int ix86_nsaved_regs PARAMS((void)); static int ix86_nsaved_regs PARAMS((void));
static void ix86_emit_save_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_emit_epilogue_esp_adjustment PARAMS((int));
static void ix86_set_move_mem_attrs_1 PARAMS ((rtx, rtx, rtx, rtx, rtx)); static void ix86_set_move_mem_attrs_1 PARAMS ((rtx, rtx, rtx, rtx, rtx));
static void ix86_sched_reorder_pentium PARAMS((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)); ...@@ -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_fcomi_cost PARAMS ((enum rtx_code code));
static int ix86_fp_comparison_sahf_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_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 *)); static void ix86_compute_frame_layout PARAMS ((struct ix86_frame *));
/* Sometimes certain combinations of command options do not make /* Sometimes certain combinations of command options do not make
...@@ -2268,7 +2268,7 @@ gen_push (arg) ...@@ -2268,7 +2268,7 @@ gen_push (arg)
static int static int
ix86_save_reg (regno, maybe_eh_return) ix86_save_reg (regno, maybe_eh_return)
int regno; int regno;
bool maybe_eh_return; int maybe_eh_return;
{ {
if (flag_pic if (flag_pic
&& ! TARGET_64BIT && ! TARGET_64BIT
...@@ -2573,7 +2573,7 @@ static void ...@@ -2573,7 +2573,7 @@ static void
ix86_emit_restore_regs_using_mov (pointer, offset, maybe_eh_return) ix86_emit_restore_regs_using_mov (pointer, offset, maybe_eh_return)
rtx pointer; rtx pointer;
int offset; int offset;
bool maybe_eh_return; int maybe_eh_return;
{ {
int regno; int regno;
......
...@@ -87,7 +87,7 @@ struct hash_entry * ...@@ -87,7 +87,7 @@ struct hash_entry *
hash_lookup (table, key, create, copy) hash_lookup (table, key, create, copy)
struct hash_table *table; struct hash_table *table;
hash_table_key key; hash_table_key key;
bool create; int create;
hash_table_key (*copy) PARAMS ((struct obstack* memory, hash_table_key (*copy) PARAMS ((struct obstack* memory,
hash_table_key key)); hash_table_key key));
{ {
......
...@@ -96,7 +96,7 @@ extern void hash_table_free PARAMS ((struct hash_table *)); ...@@ -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 COPY is non-NULL, it is used to copy the KEY before storing it in
the hash table. */ the hash table. */
extern struct hash_entry *hash_lookup 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))); hash_table_key (*copy)(struct obstack*, hash_table_key)));
/* Base method for creating a hash table entry. */ /* Base method for creating a hash table entry. */
......
...@@ -72,7 +72,7 @@ static struct hash_entry * symbol_hash_newfunc PARAMS ((struct hash_entry *, ...@@ -72,7 +72,7 @@ static struct hash_entry * symbol_hash_newfunc PARAMS ((struct hash_entry *,
struct hash_table *, struct hash_table *,
hash_table_key)); hash_table_key));
static struct symbol_hash_entry * symbol_hash_lookup PARAMS ((const char *, static struct symbol_hash_entry * symbol_hash_lookup PARAMS ((const char *,
bool)); int));
static struct hash_entry * file_hash_newfunc PARAMS ((struct hash_entry *, static struct hash_entry * file_hash_newfunc PARAMS ((struct hash_entry *,
struct hash_table *, struct hash_table *,
hash_table_key)); hash_table_key));
...@@ -81,7 +81,7 @@ static struct hash_entry * demangled_hash_newfunc PARAMS ((struct hash_entry *, ...@@ -81,7 +81,7 @@ static struct hash_entry * demangled_hash_newfunc PARAMS ((struct hash_entry *,
struct hash_table *, struct hash_table *,
hash_table_key)); hash_table_key));
static struct demangled_hash_entry * 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 void symbol_push PARAMS ((symbol *));
static symbol * symbol_pop PARAMS ((void)); static symbol * symbol_pop PARAMS ((void));
static void file_push PARAMS ((file *)); static void file_push PARAMS ((file *));
...@@ -129,7 +129,7 @@ symbol_hash_newfunc (entry, table, string) ...@@ -129,7 +129,7 @@ symbol_hash_newfunc (entry, table, string)
static struct symbol_hash_entry * static struct symbol_hash_entry *
symbol_hash_lookup (string, create) symbol_hash_lookup (string, create)
const char *string; const char *string;
bool create; int create;
{ {
return ((struct symbol_hash_entry *) return ((struct symbol_hash_entry *)
hash_lookup (&symbol_table, (const hash_table_key) string, hash_lookup (&symbol_table, (const hash_table_key) string,
...@@ -201,7 +201,7 @@ demangled_hash_newfunc (entry, table, string) ...@@ -201,7 +201,7 @@ demangled_hash_newfunc (entry, table, string)
static struct demangled_hash_entry * static struct demangled_hash_entry *
demangled_hash_lookup (string, create) demangled_hash_lookup (string, create)
const char *string; const char *string;
bool create; int create;
{ {
return ((struct demangled_hash_entry *) return ((struct demangled_hash_entry *)
hash_lookup (&demangled_table, (const hash_table_key) string, hash_lookup (&demangled_table, (const hash_table_key) string,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment