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
This commit is contained in:
Kaveh R. Ghazi 2001-05-04 14:36:39 +00:00 committed by Kaveh Ghazi
parent e7a4892c20
commit 37a580360c
5 changed files with 21 additions and 10 deletions

View File

@ -1,3 +1,14 @@
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>
* i386.c (x86_initialize_trampoline): Fix mode of constant.

View File

@ -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;

View File

@ -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));
{

View File

@ -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. */

View File

@ -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,