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/function.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/function.c')
-rw-r--r-- | gcc/function.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c index 4f7a1ef..a2fdcaa 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -281,10 +281,10 @@ free_after_compilation (struct function *f) VEC_free (int, heap, prologue); VEC_free (int, heap, epilogue); VEC_free (int, heap, sibcall_epilogue); - if (rtl.emit.regno_pointer_align) - free (rtl.emit.regno_pointer_align); + if (crtl->emit.regno_pointer_align) + free (crtl->emit.regno_pointer_align); - memset (&rtl, 0, sizeof (rtl)); + memset (crtl, 0, sizeof (struct rtl_data)); f->eh = NULL; f->machine = NULL; f->cfg = NULL; @@ -3904,7 +3904,7 @@ push_struct_function (tree fndecl) static void prepare_function_start (void) { - gcc_assert (!rtl.emit.x_last_insn); + gcc_assert (!crtl->emit.x_last_insn); init_emit (); init_varasm_status (); init_expr (); |