m68hc11.c (stack_push_word, [...]): Declare static and GTY().
* config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word, z_reg, z_reg_qi): Declare static and GTY(). (da_reg): Remove. (create_regs_rtx): Don't create da_reg. ("gt-m68hc11.h"): Include for GTY roots. * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern and GTY() here. (m68hc11_compare_op0, m68hc11_compare_op1): Likewise. (m68hc11_soft_tmp_reg): Likewise. * config/m68hc11/m68hc11-protos.h: Remove above declarations. From-SVN: r61479
This commit is contained in:
parent
32dd366d5e
commit
e9f13564bb
@ -1,3 +1,16 @@
|
||||
2003-01-19 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
|
||||
z_reg, z_reg_qi): Declare static and GTY().
|
||||
(da_reg): Remove.
|
||||
(create_regs_rtx): Don't create da_reg.
|
||||
("gt-m68hc11.h"): Include for GTY roots.
|
||||
* config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
|
||||
and GTY() here.
|
||||
(m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
|
||||
(m68hc11_soft_tmp_reg): Likewise.
|
||||
* config/m68hc11/m68hc11-protos.h: Remove above declarations.
|
||||
|
||||
2003-01-18 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* basic-block.h: Fix comment formatting.
|
||||
|
@ -42,18 +42,6 @@ extern void m68hc11_function_arg_advance PARAMS((CUMULATIVE_ARGS*,
|
||||
#endif
|
||||
|
||||
#ifdef RTX_CODE
|
||||
extern rtx m68hc11_compare_op0;
|
||||
extern rtx m68hc11_compare_op1;
|
||||
extern GTY(()) rtx m68hc11_soft_tmp_reg;
|
||||
extern GTY(()) rtx ix_reg;
|
||||
extern GTY(()) rtx iy_reg;
|
||||
extern GTY(()) rtx d_reg;
|
||||
extern GTY(()) rtx da_reg;
|
||||
extern GTY(()) rtx stack_push_word;
|
||||
extern GTY(()) rtx stack_pop_word;
|
||||
extern GTY(()) rtx z_reg;
|
||||
extern GTY(()) rtx z_reg_qi;
|
||||
|
||||
extern void m68hc11_initialize_trampoline PARAMS((rtx, rtx, rtx));
|
||||
|
||||
extern rtx m68hc11_expand_compare_and_branch PARAMS((enum rtx_code,
|
||||
|
@ -82,8 +82,6 @@ static void m68hc11_encode_section_info PARAMS((tree, int));
|
||||
static int autoinc_mode PARAMS((rtx));
|
||||
static int m68hc11_make_autoinc_notes PARAMS((rtx *, void *));
|
||||
|
||||
rtx m68hc11_soft_tmp_reg;
|
||||
|
||||
/* Must be set to 1 to produce debug messages. */
|
||||
int debug_m6811 = 0;
|
||||
|
||||
@ -92,11 +90,12 @@ extern FILE *asm_out_file;
|
||||
rtx ix_reg;
|
||||
rtx iy_reg;
|
||||
rtx d_reg;
|
||||
rtx da_reg;
|
||||
rtx stack_push_word;
|
||||
rtx stack_pop_word;
|
||||
rtx m68hc11_soft_tmp_reg;
|
||||
static GTY(()) rtx stack_push_word;
|
||||
static GTY(()) rtx stack_pop_word;
|
||||
static GTY(()) rtx z_reg;
|
||||
static GTY(()) rtx z_reg_qi;
|
||||
static int regs_inited = 0;
|
||||
rtx z_reg;
|
||||
|
||||
/* Set to 1 by expand_prologue() when the function is an interrupt handler. */
|
||||
int current_function_interrupt;
|
||||
@ -338,7 +337,6 @@ create_regs_rtx ()
|
||||
ix_reg = gen_rtx (REG, HImode, HARD_X_REGNUM);
|
||||
iy_reg = gen_rtx (REG, HImode, HARD_Y_REGNUM);
|
||||
d_reg = gen_rtx (REG, HImode, HARD_D_REGNUM);
|
||||
da_reg = gen_rtx (REG, QImode, HARD_A_REGNUM);
|
||||
m68hc11_soft_tmp_reg = gen_rtx (REG, HImode, SOFT_TMP_REGNUM);
|
||||
|
||||
stack_push_word = gen_rtx (MEM, HImode,
|
||||
@ -4106,8 +4104,6 @@ struct replace_info
|
||||
int z_loaded_with_sp;
|
||||
};
|
||||
|
||||
rtx z_reg_qi;
|
||||
|
||||
static int m68hc11_check_z_replacement PARAMS ((rtx, struct replace_info *));
|
||||
static void m68hc11_find_z_replacement PARAMS ((rtx, struct replace_info *));
|
||||
static void m68hc11_z_replacement PARAMS ((rtx));
|
||||
@ -5554,3 +5550,5 @@ m68hc11_asm_out_destructor (symbol, priority)
|
||||
default_dtor_section_asm_out_destructor (symbol, priority);
|
||||
fprintf (asm_out_file, "\t.globl\t__do_global_dtors\n");
|
||||
}
|
||||
|
||||
#include "gt-m68hc11.h"
|
||||
|
@ -1757,3 +1757,10 @@ extern int z_replacement_completed;
|
||||
extern int current_function_interrupt;
|
||||
extern int current_function_trap;
|
||||
extern int current_function_far;
|
||||
|
||||
extern GTY(()) rtx m68hc11_compare_op0;
|
||||
extern GTY(()) rtx m68hc11_compare_op1;
|
||||
extern GTY(()) rtx m68hc11_soft_tmp_reg;
|
||||
extern GTY(()) rtx ix_reg;
|
||||
extern GTY(()) rtx iy_reg;
|
||||
extern GTY(()) rtx d_reg;
|
||||
|
Loading…
Reference in New Issue
Block a user