diff options
author | Jan Hubicka <jh@suse.cz> | 2008-04-08 01:52:32 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-04-07 23:52:32 +0000 |
commit | 3e0297630411f86aeb2d559cd4b379fec46a4654 (patch) | |
tree | 4160eb6c77f2042142a19b7b0d431545c848a42b /gcc/varasm.c | |
parent | 47583040f760ccfa6948622033a4835c8b747c5a (diff) | |
download | gcc-3e0297630411f86aeb2d559cd4b379fec46a4654.zip gcc-3e0297630411f86aeb2d559cd4b379fec46a4654.tar.gz gcc-3e0297630411f86aeb2d559cd4b379fec46a4654.tar.bz2 |
function.h (rtl): Rename to x_rtl.
* function.h (rtl): Rename to x_rtl.
(crtl): New define.
(return_label, naked_return_label, stack_slot_list, parm_birth_insn,
frame_offset, stack_check_probe_note, arg_pointer_save_area,
used_temp_slots avail_temp_slots, temp_slot_level,
nonlocal_goto_handler_labels): Update accesstors.
(rtl): New global variable.
(struct function): Move some fileds to rtl_data.
(get_arg_pointer_save_area): Update prototype.
* builtins.c (expand_builtin_setjmp_receiver): Update call of
get_arg_pointer_save_area.
* expr.c (init_expr): Update
* function.c (get_frame_size): Update
(assign_stack_local): Update
(expand_function_end): Update.
(get_art_pointer_save_area): Update
* function.h
* emit-rtl.c (rtl): Declare.
(regno_reg_rtx): Declare.
(first_insn, last_insn, cur_insn_uid, last_location, first_label_num):
Update.
(gen_reg_rtx): Update.
* varasm.c (n_deferred_constatns): Update accestor.
(init_varasm_status): Do not allocate varasm_status.
(force_const_mem, get_pool_size, output_constant_pool): Update.
* stmt.c (force_label_rtx): Do not use x_ prefixes.
(expand_nl_goto_receiver): Update get_arg_pointer_save_area.
* m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Update.
* sparc/sparc.h (INIT_EXPANDERS): Update.
* ia64/ia64.h (INIT_EXPANDERS): Update.
From-SVN: r133994
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 7311049..fdfb98f 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -70,7 +70,7 @@ struct addr_const; struct constant_descriptor_rtx; struct rtx_constant_pool; -#define n_deferred_constants (rtl.varasm.deferred_constants) +#define n_deferred_constants (crtl->varasm.deferred_constants) /* Number for making the label on the next constant that is stored in memory. */ @@ -3456,8 +3456,8 @@ create_constant_pool (void) void init_varasm_status (void) { - rtl.varasm.pool = create_constant_pool (); - rtl.varasm.deferred_constants = 0; + crtl->varasm.pool = create_constant_pool (); + crtl->varasm.deferred_constants = 0; } /* Given a MINUS expression, simplify it if both sides @@ -3494,7 +3494,7 @@ force_const_mem (enum machine_mode mode, rtx x) /* Decide which pool to use. */ pool = (targetm.use_blocks_for_constant_p (mode, x) ? shared_constant_pool - : rtl.varasm.pool); + : crtl->varasm.pool); /* Lookup the value in the hashtable. */ tmp.constant = x; @@ -3606,7 +3606,7 @@ get_pool_mode (const_rtx addr) int get_pool_size (void) { - return rtl.varasm.pool->offset; + return crtl->varasm.pool->offset; } /* Worker function for output_constant_pool_1. Emit assembly for X @@ -3848,7 +3848,7 @@ static void output_constant_pool (const char *fnname ATTRIBUTE_UNUSED, tree fndecl ATTRIBUTE_UNUSED) { - struct rtx_constant_pool *pool = rtl.varasm.pool; + struct rtx_constant_pool *pool = crtl->varasm.pool; /* It is possible for gcc to call force_const_mem and then to later discard the instructions which refer to the constant. In such a |